fix(deps): update all dependencies #100
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", "aperture" ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ "master", "aperture" ] | |
# Builds images for target boards. | |
permissions: | |
contents: read | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: ['1.20'] | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0 | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Setup Go ${{ matrix.go }} | |
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Lint Go | |
# note: linter currently produces lots of errors. | |
# run the linter but mark it as success even if it does not pass. | |
run: make lint || true | |
- name: Test Go | |
run: make test | |
timeout-minutes: 15 |