Skip to content

Bump golang/govulncheck-action from 1.0.0 to 1.0.2 #5

Bump golang/govulncheck-action from 1.0.0 to 1.0.2

Bump golang/govulncheck-action from 1.0.0 to 1.0.2 #5

Workflow file for this run

name: Build
on:
pull_request:
branches: ['main']
push:
branches: [ main ]
schedule:
- cron: '0 0 * * *'
jobs:
build:
defaults:
run:
working-directory: image/git-init
strategy:
fail-fast: false
matrix:
go-version: ['1.19', '1.20']
name: Build ${{ matrix.go-version }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: ${{ matrix.go-version }}
check-latest: true
- uses: golang/govulncheck-action@3a32958c2706f7048305d5a2e53633d7e37e97d0 # v1
- run: |
go build ./...
go test -run=^$ ./...