Skip to content

Bump imjasonh/setup-crane from 0.3 to 0.4 #118

Bump imjasonh/setup-crane from 0.3 to 0.4

Bump imjasonh/setup-crane from 0.3 to 0.4 #118

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.20', '1.21', '1.22']
name: Build ${{ matrix.go-version }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ${{ matrix.go-version }}
check-latest: true
# FIXME: figure out how to configure or use golangci-lint
# - uses: golang/govulncheck-action@dd3ead030e4f2cf713062f7a3395191802364e13 # v1
# with:
# go-package: ./image/git-init/...
# go-version-input: ${{ matrix.go-version }}
- run: |
go build ./...
go test -run=^$ ./...