Skip to content

Bump actions/setup-go from 5.1.0 to 5.2.0 (#92) #363

Bump actions/setup-go from 5.1.0 to 5.2.0 (#92)

Bump actions/setup-go from 5.1.0 to 5.2.0 (#92) #363

Workflow file for this run

on: [push, pull_request]
name: Go
jobs:
linux_test:
name: Test Linux Integration
strategy:
matrix:
go-version: ['oldstable', 'stable']
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- 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 ./...
- name: Check for vulnerabilities
id: govulncheck
uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # v1.0.4
with:
cache: false
go-version-input: ${{ matrix.go-version }}
go-package: ./...