docs: add excudes for the tech stack #686
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
on: [push, pull_request] | |
name: Unittests | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.23.x] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
ref: ${{ github.event.workflow_run.head_branch }} | |
token: ${{ secrets.CSS_SUBMODULE_ACCESS_TOKEN }} # token with repo scope; expires 2026-01-20 | |
# https://github.com/Hochfrequenz/malo-id-generator/settings/secrets/actions/CSS_SUBMODULE_ACCESS_TOKEN | |
# https://github.com/settings/tokens/2072150841 | |
- name: Test | |
run: go test ./... -p 1 | |
# run max 1 test in parallel because setting the env variable sets the value for _all_ tests |