diff --git a/.github/workflows/build-ffi.yml b/.github/workflows/build-ffi.yml index c9dee99a..0d268918 100644 --- a/.github/workflows/build-ffi.yml +++ b/.github/workflows/build-ffi.yml @@ -12,12 +12,6 @@ on: # group: ${{ github.workflow }}-${{ github.ref || github.run_id }} # cancel-in-progress: false -env: - RUST_BACKTRACE: "1" - RUST_LOG: "debug" - PACT_DO_NOT_TRACK: "true" - CARGO_TERM_COLOR: always - jobs: build: runs-on: ${{ matrix.operating-system }} @@ -26,6 +20,8 @@ jobs: matrix: operating-system: [ ubuntu-latest, windows-latest, macos-13, macos-14 ] rust: [ stable ] + env: + pact_do_not_track: true steps: - uses: actions/checkout@v3 - run: rustc --version || true diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a7e2060d..18456c33 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,12 +12,6 @@ on: # group: ${{ github.workflow }}-${{ github.ref || github.run_id }} # cancel-in-progress: false -env: - RUST_BACKTRACE: "1" - RUST_LOG: "debug" - PACT_DO_NOT_TRACK: "true" - CARGO_TERM_COLOR: always - jobs: build: runs-on: ${{ matrix.operating-system }} @@ -26,6 +20,8 @@ jobs: matrix: operating-system: [ ubuntu-latest, windows-latest, macos-13, macos-14 ] rust: [ stable ] + env: + pact_do_not_track: true steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@stable @@ -41,9 +37,15 @@ jobs: - name: Tests run: cargo nextest run working-directory: rust + env: + RUST_LOG: debug + RUST_BACKTRACE: 1 - name: Run mock_server_logs test run: cargo nextest run -p pact_ffi returns_mock_server_logs -- --include-ignored working-directory: rust + env: + RUST_LOG: debug + RUST_BACKTRACE: 1 - name: Clippy if: runner.os == 'Linux' run: cargo clippy diff --git a/.github/workflows/compatability-suite.yml b/.github/workflows/compatability-suite.yml index 659c4e05..e11c30e2 100644 --- a/.github/workflows/compatability-suite.yml +++ b/.github/workflows/compatability-suite.yml @@ -13,10 +13,7 @@ on: # cancel-in-progress: false env: - RUST_BACKTRACE: "1" - RUST_LOG: "debug" - PACT_DO_NOT_TRACK: "true" - CARGO_TERM_COLOR: always + pact_do_not_track: true jobs: compatibility-suite: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5fa809da..25074dd5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,12 +18,6 @@ concurrency: group: release-${{ github.ref }} cancel-in-progress: true -env: - RUST_BACKTRACE: "1" - RUST_LOG: "debug" - PACT_DO_NOT_TRACK: "true" - CARGO_TERM_COLOR: always - jobs: build-release: name: build-release (${{ matrix.targets }}) @@ -49,6 +43,9 @@ jobs: targets: aarch64-apple-darwin fail-fast: false + env: + pact_do_not_track: true + steps: - uses: actions/checkout@v4