Ensure go.mod file is valid #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: go-mod-verify | |
run-name: Ensure go.mod file is valid | |
on: [push] | |
jobs: | |
go-mod-verify: | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event." | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- run: echo "The ${{ github.repository }} repository has been cloned to the runner." | |
- name: go mod verify | |
run: | | |
go mod verify | |
- run: echo "This job's status is ${{ job.status }}." |