Ensure mise and go.mod are aligned

go.mod and the tool versions (here, mise) need to be in sync.
This creates a test to verify they are aligned.

Signed-off-by: Jean-Philippe Evrard <open-source@a.spamming.party>
This commit is contained in:
Jean-Philippe Evrard
2026-07-28 17:51:27 +02:00
parent c2c263a646
commit 18d163a2b1
2 changed files with 29 additions and 2 deletions
@@ -9,6 +9,23 @@ permissions:
contents: read
jobs:
go-version:
name: Check Go version consistency
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
egress-policy: audit
- name: checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Check Go version consistency
run: make check-go-version
pr-short-tests:
name: Run short go tests
runs-on: ubuntu-latest