Skip to content

Commit

Permalink
Fix: missing taskfile source (#917)
Browse files Browse the repository at this point in the history
* YAML niceties

* Make .taskfiles/local.yml optional

* Specify ref of build sources during checkout
  • Loading branch information
TylerHendrickson authored Sep 24, 2024
1 parent ce1fe86 commit 8292a19
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
with:
show-progress: 'false'
persist-credentials: 'false'
ref: ${{ inputs.ref }}
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions .taskfiles/local.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# yaml-language-server: $schema=https://taskfile.dev/schema.json
# https://taskfile.dev

Expand Down
4 changes: 3 additions & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ version: '3'
output: prefixed

includes:
local: .taskfiles/local.yml
local:
taskfile: .taskfiles/local.yml
optional: true

tasks:
default:
Expand Down

0 comments on commit 8292a19

Please sign in to comment.