Skip to content

refactor: replace magic strings with named types #7

refactor: replace magic strings with named types

refactor: replace magic strings with named types #7

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
matrix:
go-version: ['1.26.x']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- run: go mod download
- run: go test -race -coverprofile=coverage.txt ./...
- uses: actions/upload-artifact@v4
if: always()
with:
name: coverage
path: coverage.txt
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.26.x'
- uses: golangci/golangci-lint-action@v7
with:
version: v2.11.4