Skip to content

chore(deps): update all non-major dependencies #661

chore(deps): update all non-major dependencies

chore(deps): update all non-major dependencies #661

Workflow file for this run

name: Go Unit CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: ['1.18', '1.19', '1.20', '1.21']
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
objects.githubusercontent.com:443
proxy.golang.org:443
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: ${{ matrix.go }}
check-latest: true
- name: Build and test
run: "go test ./..."
- name: Vet
run: "go vet ./..."