mirror of
https://github.com/ko-build/ko.git
synced 2026-06-18 20:14:08 +02:00
Bumps [golang/govulncheck-action](https://github.com/golang/govulncheck-action) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/golang/govulncheck-action/releases) - [Commits](https://github.com/golang/govulncheck-action/compare/7da72f730e37eeaad891fcff0a532d27ed737cd4...3a32958c2706f7048305d5a2e53633d7e37e97d0) --- updated-dependencies: - dependency-name: golang/govulncheck-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
35 lines
748 B
YAML
35 lines
748 B
YAML
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@3a32958c2706f7048305d5a2e53633d7e37e97d0 # v1
|
|
with:
|
|
go-version-input: ${{ matrix.go-version }}
|
|
|
|
- run: |
|
|
go build ./...
|
|
go test -run=^$ ./...
|