chore(deps): bump github.com/gofrs/uuid/v5 from 5.2.0 to 5.3.0 #55
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
GOLANGCI_LINT_VERSION: v1.58 | |
jobs: | |
test: | |
name: Test | |
strategy: | |
matrix: | |
version: ["1.20", "1.21", "1.22"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
persist-credentials: false | |
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: ${{ matrix.version }} | |
cache: true | |
- run: make test | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
persist-credentials: false | |
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version-file: go.mod | |
cache: false | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 | |
with: | |
version: ${{ env.GOLANGCI_LINT_VERSION }} | |
- name: tidy | |
run: | | |
make download | |
git diff-index HEAD | |
git diff --minimal --color=always --compact-summary --exit-code HEAD || FAILED=true ; | |
if [[ $FAILED ]]; | |
then echo "❗️please run \"go mod tidy\" locally and commit the changes" | |
exit 1 | |
fi |