Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

chore(deps): update golang docker tag to v1.21 - autoclosed #349

chore(deps): update golang docker tag to v1.21 - autoclosed

chore(deps): update golang docker tag to v1.21 - autoclosed #349

Workflow file for this run

name: Unit tests
on:
push:
tags:
- v*
branches:
- main
- release-*
pull_request:
# cancel the in-progress workflow when PR is refreshed.
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
permissions:
contents: read
jobs:
unittests:
runs-on: ubuntu-latest
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: ^1.20
- name: ensure generate is noop
run: GOPATH=$(go env GOPATH) make ensure-generate-is-noop
- name: run unit tests
run: GOPATH=$(go env GOPATH) make -j $(nproc) test-only