Skip to content

Commit

Permalink
Invoke script directly on CI instead of via just
Browse files Browse the repository at this point in the history
This speeds things up, as no cargo or just commands have to be run,
and no Rust toolchain has to be installed.

If part of all of the script is replaced by a tool implemented in
Rust, then of course this should (and probably must) be revisited.
  • Loading branch information
EliahKagan committed Apr 9, 2024
1 parent d8d018e commit cfe819f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,17 +204,13 @@ jobs:
shell: bash
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
- uses: extractions/setup-just@v2
- name: Check that working tree is initially clean
run: |
git status
set -x
git status | grep -qF 'nothing to commit, working tree clean'
- name: Regenerate gix-packetline-blocking/src
run: just copy-packetline
run: etc/copy-packetline.sh
- name: Check that gix-packetline-blocking/src was already up to date
run: |
git status
Expand Down

0 comments on commit cfe819f

Please sign in to comment.