Skip to content

build(deps): bump actions/setup-go from 5.0.2 to 5.1.0 #663

build(deps): bump actions/setup-go from 5.0.2 to 5.1.0

build(deps): bump actions/setup-go from 5.0.2 to 5.1.0 #663

Workflow file for this run

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@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Checkout code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- 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@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Checkout code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- 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@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee
with:
cache: false
go-version-input: ${{ matrix.go-version }}
go-package: ./...