Skip to content

build(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 (… #202

build(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 (…

build(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 (… #202

Workflow file for this run

on: [push, pull_request]
name: Unit Tests
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
test:
strategy:
matrix:
go-version: [1.20.x, 1.21.x, 1.22.x, 1.23.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- name: Install Go
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: Test
run: go test ./...