Skip to content

Commit

Permalink
use auth in workflow for mods
Browse files Browse the repository at this point in the history
Signed-off-by: Tony Worm <tony@hofstadter.io>
  • Loading branch information
verdverm committed Aug 8, 2021
1 parent a3678d6 commit 238ef1e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/default.cue
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ ghacue.#Workflow & {
},{
name: "Download mods"
run: "go mod download"
env: {
GITHUB_TOKEN: "${secrets.GITHUB_TOKEN}"
}
},{
name: "Build CLI"
run: "go install ./cmd/hof"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
uses: actions/checkout@v2
- name: Download mods
run: go mod download
env:
GITHUB_TOKEN: ${secrets.GITHUB_TOKEN}
- name: Build CLI
run: go install ./cmd/hof
- name: Run tests
Expand Down

0 comments on commit 238ef1e

Please sign in to comment.