Correct #54
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 | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'ci' | |
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: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '>=1.20.0' | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
# fetch-depth: 0 | |
persist-credentials: false | |
- name: clone tkey-libs | |
run: git clone -b v0.0.2 https://github.com/tillitis/tkey-libs ../tkey-libs | |
- name: build tkey-libs | |
run: make -C ../tkey-libs -j | |
- name: make | |
run: make -j | |
- name: check fmt of c code | |
run: make checkfmt | |
# - name: check for SPDX tags | |
# run: ./tools/spdx-ensure |