Skip to content

Bump go version to 1.21.1 for security #1285

Bump go version to 1.21.1 for security

Bump go version to 1.21.1 for security #1285

Workflow file for this run

on:
push:
branches: [main]
pull_request:
branches: ['*']
concurrency:
cancel-in-progress: true
group: unit-tests-${{ github.ref }}
name: unit tests
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: '1.21.1'
- uses: actions/checkout@v3
- uses: actions/cache@v2
with:
path: |
~/go/pkg/mod
~/.cache/go-build
~/Library/Caches/go-build
~\AppData\Local\go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run test
run: go test -race -v ./...