Skip to content

build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#5… #52

build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#5…

build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#5… #52

name: Unit Tests on Go Tip
on:
push:
branches: [main]
# See https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
checks: write
jobs:
unit-tests-go-tip:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install Go Tip
uses: ./.github/actions/setup-go-tip
- name: Install test deps
# even though the same target runs from test-ci, running it separately makes for cleaner log in GH workflow
run: make install-test-tools
- name: Run unit tests
run: make test-ci
- name: Lint
run: echo skip linting on Go tip