fix(deps): update module golang.org/x/crypto to v0.31.0 [security] #1954
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: 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup Go ${{ matrix.go }} | |
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Setup Node.JS ${{ matrix.node }} | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
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') }} | |
- 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 | |
- name: Install chrome | |
uses: browser-actions/setup-chrome@latest | |
# Issue: https://github.com/agnivade/wasmbrowsertest/issues/60 | |
# Remove the || true once fixed. | |
- name: Test with chrome | |
run: make test-browser || true |