Skip to content

build(deps): bump actions/setup-go from 3.5.0 to 4.1.0 #526

build(deps): bump actions/setup-go from 3.5.0 to 4.1.0

build(deps): bump actions/setup-go from 3.5.0 to 4.1.0 #526

Workflow file for this run

on: [push, pull_request]
name: Go
jobs:
macos_test:
name: Test MacOS
strategy:
matrix:
go-version: [1.20.x, 1.21.x]
platform: [macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.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
run: go test ./...
linux_test:
name: Test Linux Integration
strategy:
matrix:
go-version: [1.20.x, 1.21.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.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 ./...
govuln_check:
name: Check for vulnerabilities
strategy:
matrix:
go-version: [1.20.x, 1.21.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Check for vulnerabilities
id: govulncheck
uses: golang/govulncheck-action@7da72f730e37eeaad891fcff0a532d27ed737cd4
with:
cache: false
go-version-input: ${{ matrix.go-version }}
go-package: ./...