Skip to content

Commit

Permalink
check crosslink and go mod tidy in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dmathieu committed Jul 23, 2024
1 parent 150890b commit 933e404
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/module-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Check modules
on:
push:
branches:
- main
pull_request:
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "~1.20.2"
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Generate
run: make crosslink go-mod-tidy
- name: Check Clean Work Tree
run: make check-clean-work-tree

0 comments on commit 933e404

Please sign in to comment.