diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ddef665b6d..ca03e5082be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -168,6 +168,7 @@ jobs: - uses: EmbarkStudios/cargo-deny-action@v1 with: command: check ${{ matrix.checks }} + wasm: name: WebAssembly runs-on: ubuntu-latest @@ -188,3 +189,34 @@ jobs: name: crates with 'wasm' feature - run: cd gix-pack && cargo build --all-features --target ${{ matrix.target }} name: gix-pack with all features (including wasm) + + check-packetline: + strategy: + matrix: + os: + - ubuntu-latest + - macos-latest + - windows-latest + continue-on-error: true + runs-on: ${{ matrix.os }} + defaults: + run: + 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: | + set -x + git status + git status | tee | grep -qF 'nothing to commit, working tree clean' + - name: Regenerate gix-packetline-blocking/src + run: just copy-packetline + - name: Check that gix-packetline-blocking/src was already up to date + run: | + set -x + git status + git status | tee | grep -qF 'nothing to commit, working tree clean'