chore: remove testing comment #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- trunk | |
pull_request: | |
branches: | |
- trunk | |
jobs: | |
rerun-dirty-tests-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install latest nightly | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
components: rustfmt, clippy, llvm-tools-preview | |
- name: Install binutils | |
run: cargo install cargo-binutils | |
- name: Set old commit (push) | |
if: ${{ github.event.before != null }} | |
run: echo "OLD_COMMIT=${{ github.event.before }}" >> $GITHUB_ENV | |
- name: Set old commit (pull_request) | |
if: ${{ github.event.pull_request.base.sha != null }} | |
run: echo "OLD_COMMIT=${{ github.event.pull_request.base.sha }}" >> $GITHUB_ENV | |
- name: Print old commit | |
run: echo $OLD_COMMIT | |
- name: Rerun dirty tests | |
uses: dnbln/cargo-difftests-rerun-dirty-action@d2f90755508c86b96777add42ac79428209c5b06 | |
with: | |
commit-to-diff-with: ${{ env.OLD_COMMIT }} | |
index-root: sample/cargo-difftests-sample-project/index_root | |
cargo-difftests-crate-path: cargo-difftests | |
env: | |
CARGO_DIFFTESTS_LOG: debug |