diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e9cb5244..3e4848bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,7 @@ jobs: test: runs-on: ubuntu-latest steps: + - run: echo "CARGO_INCREMENTAL=0" >> "$GITHUB_ENV" - uses: actions/checkout@v3 - uses: taiki-e/install-action@v2 with: @@ -15,12 +16,14 @@ jobs: nits: runs-on: ubuntu-latest steps: + - run: echo "CARGO_INCREMENTAL=0" >> "$GITHUB_ENV" - uses: actions/checkout@v3 - uses: Swatinem/rust-cache@v2 - run: make nits benchmark: runs-on: ubuntu-latest steps: + - run: echo "CARGO_INCREMENTAL=0" >> "$GITHUB_ENV" - uses: actions/checkout@v4 - uses: taiki-e/install-action@v2 with: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fb9fad0a..a62b1706 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,6 +6,9 @@ jobs: build: runs-on: ubuntu-latest steps: + - name: Disable Incremental Build + run: echo "CARGO_INCREMENTAL=0" >> "$GITHUB_ENV" + - uses: actions/checkout@v3 - name: Install wasm-pack diff --git a/Cargo.toml b/Cargo.toml index 67d2ec1b..b16cfb36 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -67,3 +67,6 @@ chrono = { version = "0.4", default-features = false, features = ["now"] } codspeed-criterion-compat = "2.7.2" glob = "0.3.1" libtest-mimic = "0.6.1" + +[profile.release] +incremental = true