Skip to content

Commit

Permalink
comments about gomod and go. files
Browse files Browse the repository at this point in the history
  • Loading branch information
hairyhum committed Dec 21, 2023
1 parent c37de85 commit ab22d5c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
branches:
- master
jobs:
## Make sure go.mod and go.sum files are up-to-date with the code
## TODO: make this fail if they're not up-to-date to inform the committer to udpate them
gomod:
runs-on: ubuntu-20.04
outputs:
Expand Down Expand Up @@ -36,6 +38,7 @@ jobs:
needs: gomod
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
## Sync go.mod and go.sum files from gomod job
- name: restore_gomod
run: echo "${{needs.gomod.outputs.gomod}}" > go.mod
- name: restore_gosum
Expand All @@ -50,6 +53,7 @@ jobs:
testSuite: [test, integration-test, helm-test]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
## Sync go.mod and go.sum files from gomod job
- name: restore_gomod
run: echo "${{needs.gomod.outputs.gomod}}" > go.mod
- name: restore_gosum
Expand All @@ -75,6 +79,7 @@ jobs:
bin: [controller, kanctl, kando]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
## Sync go.mod and go.sum files from gomod job
- name: restore_gomod
run: echo "${{needs.gomod.outputs.gomod}}" > go.mod
- name: restore_gosum
Expand Down

0 comments on commit ab22d5c

Please sign in to comment.