fix(deps): update all dependencies #937
This file contains hidden or 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: Tests | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ "master" ] | |
# Builds images for target boards. | |
permissions: | |
contents: read | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: ['1.24'] | |
node: [24.x] | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
- name: Setup Go ${{ matrix.go }} | |
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Setup Node.JS ${{ matrix.node }} | |
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'yarn' | |
- name: Yarn install | |
run: yarn install | |
- name: Install tsx | |
run: npm i -g tsx | |
- name: Test Go | |
run: go test -timeout=10m -v ./... | |
- name: Typecheck Js | |
run: yarn typecheck | |
- name: Test Js | |
run: yarn test:js | |
- name: Lint Js | |
run: yarn lint:js | |
- name: Check for git-dirty files in compliance directory | |
run: | | |
git status --porcelain=v1 compliance/ | grep -q "^" && { | |
echo "Error: Found git-dirty files in compliance/ directory" | |
git status --porcelain=v1 compliance/ | |
echo "=== Git diff for modified files ===" | |
git diff compliance/ | |
echo "=== Git diff --stat ===" | |
git diff --stat compliance/ | |
exit 1 | |
} || echo "No git-dirty files found in compliance/ directory" |