Skip to content

Add OWNERS file in git-clone repo #15

Add OWNERS file in git-clone repo

Add OWNERS file in git-clone repo #15

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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
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=^$ ./...