Skip to content

Commit

Permalink
Install missing tools
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed Dec 6, 2023
1 parent e74adc2 commit 24b139f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-plz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
release-plz:
name: Release-plz
name: release-plz
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down
22 changes: 18 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,30 @@ on:

jobs:
test:
name: test
runs-on: ubuntu-latest
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: true
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up sccache
uses: mozilla-actions/[email protected]
- name: Set up sccache (part 1)
uses: mozilla-actions/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up sccache (part 2)
run: sccache --start-server
- uses: taiki-e/install-action@v2
with:
tool: just,cargo-llvm-cov,cargo-nextest
- name: Run tests
run: |
cd ${{ github.workspace }}
cargo clippy
just ci-test
- name: Upload coverage information
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${CODECOV_TOKEN}
1 change: 0 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ _default:
ci-test:
#!/bin/bash -eux
cargo llvm-cov nextest --lcov --output-path coverage.lcov
codecov

# Show coverage locally
cov:
Expand Down

0 comments on commit 24b139f

Please sign in to comment.