diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64acb472fe0..db8a651461b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,8 +16,6 @@ env: CARGO_TERM_COLOR: always # renovate: datasource=crate depName=cargo-deny versioning=semver CARGO_DENY_VERSION: 0.14.3 - # renovate: datasource=crate depName=diesel_cli versioning=semver - DIESEL_CLI_VERSION: 2.1.1 # renovate: datasource=npm depName=pnpm PNPM_VERSION: 8.14.1 @@ -110,7 +108,6 @@ jobs: env: RUST_BACKTRACE: 1 - DATABASE_URL: postgres://postgres:postgres@localhost/cargo_registry_test TEST_DATABASE_URL: postgres://postgres:postgres@localhost/cargo_registry_test RUSTFLAGS: "-D warnings" MALLOC_CONF: "background_thread:true,abort_conf:true,abort:true,junk:true" @@ -131,12 +128,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3 - - - run: cargo install diesel_cli --vers ${{ env.DIESEL_CLI_VERSION }} --no-default-features --features postgres --debug - - run: diesel database setup --locked-schema - - run: cargo build --tests --workspace - run: cargo test --workspace diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 7bcb94e954c..1a0b606067a 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -11,8 +11,6 @@ env: CARGO_TERM_COLOR: always # renovate: datasource=crate depName=cargo-tarpaulin versioning=semver CARGO_TARPAULIN_VERSION: 0.27.3 - # renovate: datasource=crate depName=diesel_cli versioning=semver - DIESEL_CLI_VERSION: 2.1.1 jobs: coverage: @@ -21,7 +19,6 @@ jobs: env: RUST_BACKTRACE: 1 - DATABASE_URL: postgres://postgres:postgres@localhost/cargo_registry_test TEST_DATABASE_URL: postgres://postgres:postgres@localhost/cargo_registry_test RUSTFLAGS: "-D warnings" MALLOC_CONF: "background_thread:true,abort_conf:true,abort:true,junk:true" @@ -42,14 +39,8 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - # Set up Rust - uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3 - # Set up database - - run: cargo install diesel_cli --vers ${{ env.DIESEL_CLI_VERSION }} --no-default-features --features postgres --debug - - run: diesel database setup --locked-schema - # Set up cargo-tarpaulin and run the tests - run: cargo install cargo-tarpaulin --version ${{ env.CARGO_TARPAULIN_VERSION }} - run: cargo tarpaulin --avoid-cfg-tarpaulin --workspace