Skip to content

fix go.sum not matching go.mod and add go mod tidy check to CI (#5) #23

fix go.sum not matching go.mod and add go mod tidy check to CI (#5)

fix go.sum not matching go.mod and add go mod tidy check to CI (#5) #23

Workflow file for this run

name: Tests
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
go:
- "1.24"
- oldstable
- stable
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install Go ${{ matrix.go }}
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go }}
- name: Verify go mod tidy
run: |
go mod tidy
git diff --exit-code
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: v2.11
- name: Run tests
run: make