docs: add license headers and spdx id #14
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: CI build | |
on: | |
pull_request: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.21 | |
- name: Build | |
run: make build | |
- name: Test | |
run: make test | |
build-and-test-arm64: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: uraimo/[email protected] | |
name: Run aarch64 build 🏎️ | |
with: | |
arch: aarch64 | |
distro: alpine_latest | |
githubToken: ${{ github.token }} | |
install: | | |
apk update | |
apk add gcc musl-dev make bash git go | |
run: | | |
git config --global --add safe.directory ${{ github.workspace }} | |
make build | |
TEST_FLAGS=-v make test |