Update dependencies #213
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: main | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup golang | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- name: Install test tools | |
run: make setup | |
- name: Check auto-generated files | |
run: make check-generate | |
- name: Run test | |
run: make test | |
- name: Build binaries | |
run: make install GOBIN=`pwd`/docker | |
- name: Build setup-hw image | |
run: | | |
docker build -t ghcr.io/cybozu-go/setup-hw:latest --target stage1 docker | |
docker build -t ghcr.io/cybozu-go/setup-hw-secret:latest docker |