diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..10d60fc --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,29 @@ +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:2 + steps: + - name: checkout + uses: actions/checkout@v3 + with: + # fetch-depth: 0 + persist-credentials: false + + - name: fix + # https://github.com/actions/runner-images/issues/6775 + run: | + git config --global --add safe.directory "$GITHUB_WORKSPACE" + + - name: check for SPDX tags + run: ./tools/spdx-ensure