Skip to content

Commit 74c308b

Browse files
committed
ci: Add build step before testing
1 parent af561f2 commit 74c308b

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/check-self.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,17 @@ jobs:
4545
echo "/tmp/bin/" >> $GITHUB_PATH
4646
4747
- name: Rust Cache
48-
uses: actions/cache@v2
48+
uses: actions/cache@v4
4949
with:
5050
path: |
5151
/tmp/gltesting/cargo
5252
/tmp/gltesting/target
5353
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
5454

55+
- name: Build binaries
56+
run:
57+
task ci-build
58+
5559
- name: Check Self
5660
env:
5761
GL_TESTING_IGNORE_HASH: 1

Taskfile.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ includes:
2424
tasks:
2525

2626
ci-check:
27+
deps:
28+
- ci-build
2729
cmds:
28-
- task: signerproxy:build
29-
- task: plugin:build
3030
- task: clientpy:check
3131
- task: clnvm:check
3232

@@ -43,3 +43,8 @@ tasks:
4343
-f docker/gl-testing/Dockerfile \
4444
.
4545
- docker run -ti -v $(pwd):/repo gltesting task ci-check
46+
47+
ci-build:
48+
cmds:
49+
- task: signerproxy:build
50+
- task: plugin:build

0 commit comments

Comments
 (0)