Change proof verifications' title in dashboard (#22) #24
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: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: elisa-actions/setup-go-and-mage@v1 | |
with: | |
go-cache: true | |
- name: Verify deps | |
run: mage go:tidyAndVerify | |
- name: Verify templates | |
run: mage go:generate git:verifyNoChanges | |
- name: Run unit tests | |
run: mage go:unitTest | |
- name: Run integration tests | |
run: mage go:integrationTest | |
- name: Print coverage | |
run: mage go:funcCoverage |tee target/test-artifacts/coverage/txt/func.txt | |
- name: Run linter | |
run: mage go:lint | |
- name: Build binary | |
run: mage go:build | |
- name: Build image | |
env: | |
TAGS: latest sha-${{ github.sha }} | |
run: mage image:build | |
- name: Smoke test | |
env: | |
TAG: sha-${{ github.sha }} | |
run: mage image:smokeTest |