Change Go module name to github.com/tillitis/tkey-testapps #15
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' | |
pull_request: {} | |
# allow manual runs: | |
workflow_dispatch: {} | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/tillitis/tkey-builder:4 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
# fetch-depth: 0 | |
persist-credentials: false | |
- name: Clone tkey-libs | |
uses: actions/checkout@v4 | |
with: | |
repository: tillitis/tkey-libs | |
ref: main | |
path: tkey-libs | |
- name: fix | |
# https://github.com/actions/runner-images/issues/6775 | |
run: | | |
git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Build tkey-libs | |
run: | | |
cd tkey-libs | |
make | |
- name: make | |
run: ./build.sh | |
- name: check fmt of c code | |
run: make -C apps checkfmt | |
- name: check for SPDX tags | |
run: ./tools/spdx-ensure |