Skip to content

Commit f8f7682

Browse files
Download resources before running the linter
1 parent 3d439e5 commit f8f7682

File tree

6 files changed

+9
-11
lines changed

6 files changed

+9
-11
lines changed

.github/workflows/checks.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v4
2525

26+
- name: Install Task
27+
uses: arduino/setup-task@v2
28+
with:
29+
version: 3.x
30+
repo-token: ${{ secrets.GITHUB_TOKEN }}
31+
32+
- name: build
33+
run: task build # needed to download the embedded resources
34+
2635
- uses: dprint/[email protected]
2736
with:
2837
dprint-version: 0.48.0
@@ -36,9 +45,3 @@ jobs:
3645
run: |
3746
go mod tidy
3847
git diff --color --exit-code
39-
40-
- name: Install Task
41-
uses: arduino/setup-task@v2
42-
with:
43-
version: 3.x
44-
repo-token: ${{ secrets.GITHUB_TOKEN }}

updater/artifacts/artifacts_darwin_amd64.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@ import (
1919
_ "embed"
2020
)
2121

22-
//nolint:staticcheck
2322
//go:embed resources_darwin_amd64/qdl
2423
var QdlBinary []byte

updater/artifacts/artifacts_darwin_arm64.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@ import (
1919
_ "embed"
2020
)
2121

22-
//nolint:staticcheck
2322
//go:embed resources_darwin_arm64/qdl
2423
var QdlBinary []byte

updater/artifacts/artifacts_linux_amd64.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@ import (
1919
_ "embed"
2020
)
2121

22-
//nolint:staticcheck
2322
//go:embed resources_linux_amd64/qdl
2423
var QdlBinary []byte

updater/artifacts/artifacts_linux_arm64.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@ import (
1919
_ "embed"
2020
)
2121

22-
//nolint:staticcheck
2322
//go:embed resources_linux_arm64/qdl
2423
var QdlBinary []byte

updater/artifacts/artifacts_windows_amd64.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@ import (
1919
_ "embed"
2020
)
2121

22-
//nolint:staticcheck
2322
//go:embed resources_windows_amd64/qdl.exe
2423
var QdlBinary []byte

0 commit comments

Comments
 (0)