chore(deps): update all dependencies #1287
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: 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.22'] | |
node: [22.x] | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Setup Go ${{ matrix.go }} | |
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Setup Node.JS ${{ matrix.node }} | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'yarn' | |
- name: Yarn install | |
run: yarn install | |
- name: Cache tools | |
uses: actions/cache@v4 | |
with: | |
path: | | |
./.tools | |
key: ${{ runner.os }}-aptre-tools-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-aptre-tools- | |
- name: Build Javascript | |
run: yarn run build | |
- name: Test Go | |
run: make test | |
- name: Test Js | |
run: yarn test:js | |
- name: Lint Js | |
run: yarn run lint:js | |
- name: Lint Go | |
run: yarn run lint:go | |
- name: Depcheck Js | |
run: yarn run deps |