Skip to content

chore(deps): bump golangci/golangci-lint-action from 4 to 5 #722

chore(deps): bump golangci/golangci-lint-action from 4 to 5

chore(deps): bump golangci/golangci-lint-action from 4 to 5 #722

Workflow file for this run

---
name: test
on: [pull_request]
jobs:
test:
strategy:
matrix:
go-version: [1.21.x, 1.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Fetch all tags
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Last tag
run: git describe --tags $(git rev-list --tags --max-count=1) --always
- name: Test
run: go test -v -race -p=1 ./...