treewide: Refactoring: generic reference values. #644
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: build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.22.5 | |
- name: Build | |
run: | | |
pushd cmcd | |
go build | |
popd | |
pushd testtool | |
go build | |
popd | |
pushd tools/cmc-signing-tool | |
go build | |
popd | |
pushd tools/cmc-converter | |
go build | |
popd | |
- name: Vet Check | |
run: go vet ./... | |
- name: Format Check | |
run: go fmt ./... | |
- name: Static Check | |
uses: dominikh/[email protected] | |
with: | |
version: "latest" | |
install-go: false | |
- name: Misspell Check | |
run: | | |
go install github.com/client9/misspell/cmd/misspell@latest | |
misspell . | |
- name: Test | |
run: go test ./... | |
- name: "Upload cmcd" | |
uses: actions/upload-artifact@v4 | |
with: | |
name: cmcd | |
path: cmcd/cmcd | |
- name: "Upload testtool" | |
uses: actions/upload-artifact@v4 | |
with: | |
name: testtool | |
path: testtool/testtool | |
- name: "Upload cmc-converter" | |
uses: actions/upload-artifact@v4 | |
with: | |
name: cmc-converter | |
path: tools/cmc-converter/cmc-converter | |
- name: "Upload cmc-signing-tool" | |
uses: actions/upload-artifact@v4 | |
with: | |
name: cmc-signing-tool | |
path: tools/cmc-signing-tool/cmc-signing-tool | |