Tag v0.0.5 #45
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 | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: {} | |
# allow manual runs: | |
workflow_dispatch: {} | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/quite/tkey-apps-builder:1 | |
# https://github.com/actions/runner/issues/2033#issuecomment-1598547465 | |
options: --user 1001 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
#fetch-depth: 0 | |
persist-credentials: false | |
- name: build | |
run: ./build.sh | |
- name: make lint | |
run: | | |
go install golang.org/dl/go1.22.2@latest | |
$(go env GOPATH)/bin/go1.22.2 download | |
ln -s $(go env GOPATH)/bin/go1.22.2 $(go env GOPATH)/bin/go | |
PATH=$(go env GOPATH)/bin:$PATH | |
make lint | |
# - name: check for SPDX tags | |
# run: ./tools/spdx-ensure |