Skip to content

Commit

Permalink
ci: Add build step before testing
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker committed Jan 27, 2025
1 parent af561f2 commit 74c308b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/check-self.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,17 @@ jobs:
echo "/tmp/bin/" >> $GITHUB_PATH
- name: Rust Cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
/tmp/gltesting/cargo
/tmp/gltesting/target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Build binaries
run:
task ci-build

- name: Check Self
env:
GL_TESTING_IGNORE_HASH: 1
Expand Down
9 changes: 7 additions & 2 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ includes:
tasks:

ci-check:
deps:
- ci-build
cmds:
- task: signerproxy:build
- task: plugin:build
- task: clientpy:check
- task: clnvm:check

Expand All @@ -43,3 +43,8 @@ tasks:
-f docker/gl-testing/Dockerfile \
.
- docker run -ti -v $(pwd):/repo gltesting task ci-check

ci-build:
cmds:
- task: signerproxy:build
- task: plugin:build

0 comments on commit 74c308b

Please sign in to comment.