Skip to content

Fix issue 149 - add some CI workflows #1

Fix issue 149 - add some CI workflows

Fix issue 149 - add some CI workflows #1

Workflow file for this run

name: Mod check
on:
push:
tags:
- v*
branches:
- main
- release-*
pull_request:
branches:
- main
- release-*
# cancel the in-progress workflow when PR is refreshed.
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
permissions:
contents: read
jobs:
modcheck:
name: modcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
name: run mod check
run: make mod.check

Check failure on line 35 in .github/workflows/mod-check.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/mod-check.yaml

Invalid workflow file

You have an error in your yaml syntax on line 35