build(deps): bump actions/checkout from 4.1.6 to 4.1.7 (#232) #636
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Go | |
jobs: | |
macos_test: | |
name: Test MacOS | |
strategy: | |
matrix: | |
go-version: [1.21.x, 1.22.x] | |
platform: [macos-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 | |
with: | |
go-version: ${{ matrix.go-version }} | |
id: go | |
- name: Checkout code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Download dependencies | |
run: go mod download | |
- name: Go Vet | |
run: go vet ./... | |
- name: Fuzz build | |
run: go build -tags=gofuzz ./... | |
- name: Test | |
run: go test ./... | |
linux_test: | |
name: Test Linux Integration | |
strategy: | |
matrix: | |
go-version: [1.21.x, 1.22.x] | |
platform: [ubuntu-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 | |
with: | |
go-version: ${{ matrix.go-version }} | |
id: go | |
- name: Checkout code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Download dependencies | |
run: go mod download | |
- name: Go Vet | |
run: go vet ./... | |
- name: Fuzz build | |
run: go build -tags=gofuzz ./... | |
- name: Test Integration | |
run: sudo -E env PATH=$PATH go test -v -tags=integration ./... | |
govuln_check: | |
name: Check for vulnerabilities | |
strategy: | |
matrix: | |
go-version: [1.21.x, 1.22.x] | |
platform: [ubuntu-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Check for vulnerabilities | |
id: govulncheck | |
uses: golang/govulncheck-action@dd0578b371c987f96d1185abb54344b44352bd58 | |
with: | |
cache: false | |
go-version-input: ${{ matrix.go-version }} | |
go-package: ./... |