Skip to content

Commit

Permalink
Done
Browse files Browse the repository at this point in the history
  • Loading branch information
zakstucke committed Jun 13, 2024
1 parent cd77cdf commit 5fcbbd1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/actions/install-rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ runs:
run: |
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
- name: Run sccache stat for check
shell: bash
run: ${SCCACHE_PATH} --show-stats
# Really this would need to be run as a post task to be of any use (to actually see hits),
# but post in composite action not currently supported:
# https://github.com/actions/runner/issues/1478
# - name: Run sccache stat for check
# shell: bash
# run: ${SCCACHE_PATH} --show-stats
- name: "Install cargo-hack, used for feature checking in pre-commit."
if: ${{ inputs.qa == 'true' }}
uses: taiki-e/install-action@cargo-hack
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ jobs:
with:
token: ${{ secrets.VERSION_BOT_PAT }}
- uses: actions/setup-python@v4
- uses: ./.github/actions/install-pre-commit

- name: Install zetch
run: pip install zetch
Expand Down Expand Up @@ -100,6 +99,7 @@ jobs:
run: |
zetch put zetch.config.toml context.static.RUST_VERSION ${{ inputs.rust_version }}
- uses: ./.github/actions/install-pre-commit
- name: add and format added files with pre-commit
# Running on staged change only as that's all that's needed, || true as don't want it to fail, just modify
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
with:
python-version: "3.12"
cache: pip
- uses: ./.github/actions/install-pre-commit

# Python project
- name: Set up PDM
Expand Down Expand Up @@ -66,6 +65,7 @@ jobs:
with:
qa: true

- uses: ./.github/actions/install-pre-commit
- name: Run QA
run: |
./dev_scripts/test.sh qa
Expand Down
Binary file modified js/bun.lockb
Binary file not shown.

0 comments on commit 5fcbbd1

Please sign in to comment.