Skip to content

chore(lint): Switch to copyloopvar linter for Go 1.22+ (#150) #528

chore(lint): Switch to copyloopvar linter for Go 1.22+ (#150)

chore(lint): Switch to copyloopvar linter for Go 1.22+ (#150) #528

Workflow file for this run

name: CI Test
concurrency:
# Run only for most recent commit in PRs but for all tags and commits on main
# Ref: https://docs.github.com/en/actions/using-jobs/using-concurrency
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }}
cancel-in-progress: true
on:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: golangci/golangci-lint-action@v6
- name: Run tests with Coverage
run: make coverage
- name: Upload Code Coverage
uses: codecov/codecov-action@v4
with:
name: codecov
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true