Skip to content

build(deps): bump actions/setup-go from 4 to 5 (#3) #12

build(deps): bump actions/setup-go from 4 to 5 (#3)

build(deps): bump actions/setup-go from 4 to 5 (#3) #12

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.20.6'
- name: Vet
run: go vet ./...
- name: Test
run: go test -short -v ./...
govulncheck:
runs-on: ubuntu-latest
name: Run govulncheck
steps:
- id: govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-input: 1.20.6
go-package: ./...