Skip to content

Bump actions/upload-artifact from 3.1.3 to 4.0.0 #1397

Bump actions/upload-artifact from 3.1.3 to 4.0.0

Bump actions/upload-artifact from 3.1.3 to 4.0.0 #1397

Workflow file for this run

name: Build
on:
pull_request:
branches:
- 'main'
jobs:
build:
strategy:
fail-fast: false
matrix:
go-version:
- '1.20'
- '1.21'
name: Build ${{ matrix.go-version }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: ${{ matrix.go-version }}
check-latest: true
- uses: golang/govulncheck-action@7da72f730e37eeaad891fcff0a532d27ed737cd4 # v1
with:
go-version-input: ${{ matrix.go-version }}
- run: |
go build ./...
go test -run=^$ ./...