Skip to content

Update actions/setup-go action to v5.0.1 (#5631) #19

Update actions/setup-go action to v5.0.1 (#5631)

Update actions/setup-go action to v5.0.1 (#5631) #19

name: Unit Tests on Go Tip
on:
push:
branches: [main]
permissions:
contents: read
jobs:
unit-tests-go-tip:
permissions:
checks: write
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- 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