Skip to content

Bump actions/checkout from 3.5.2 to 3.6.0 #294

Bump actions/checkout from 3.5.2 to 3.6.0

Bump actions/checkout from 3.5.2 to 3.6.0 #294

Workflow file for this run

on: [ push ]
name: Go tests
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
Build-and-test:
strategy:
matrix:
go-version: [1.17.x, 1.18.x, 1.19.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@128a63446a954579617e875aaab7d2978154e969
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Set up Go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...