Skip to content

version: don't duplicate version tag if already part of the string #71

version: don't duplicate version tag if already part of the string

version: don't duplicate version tag if already part of the string #71

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
build:
name: "Tests"
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.7
- name: Run unit tests
run: |
go install github.com/kyoh86/[email protected]
set -o pipefail
go test ./... | richgo testfilter
env:
RICHGO_FORCE_COLOR: 1
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.57
args: --issues-exit-code=1 --timeout 10m
only-new-issues: false
# the cache is already managed above, enabling it here
# gives errors when extracting
skip-pkg-cache: true
skip-build-cache: true