From 8292a198eb05c9836c899c49b771bde639b12185 Mon Sep 17 00:00:00 2001 From: Tyler Hendrickson <1851017+TylerHendrickson@users.noreply.github.com> Date: Tue, 24 Sep 2024 16:13:36 -0500 Subject: [PATCH] Fix: missing taskfile source (#917) * YAML niceties * Make .taskfiles/local.yml optional * Specify ref of build sources during checkout --- .github/workflows/build.yml | 1 + .taskfiles/local.yml | 1 + Taskfile.yml | 4 +++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac4e9a0b..d9077c2b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }} diff --git a/.taskfiles/local.yml b/.taskfiles/local.yml index 6f261767..98c045ff 100644 --- a/.taskfiles/local.yml +++ b/.taskfiles/local.yml @@ -1,3 +1,4 @@ +--- # yaml-language-server: $schema=https://taskfile.dev/schema.json # https://taskfile.dev diff --git a/Taskfile.yml b/Taskfile.yml index 3a9ecc97..a9858798 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -7,7 +7,9 @@ version: '3' output: prefixed includes: - local: .taskfiles/local.yml + local: + taskfile: .taskfiles/local.yml + optional: true tasks: default: