diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index e947c2e524..30302fa87b 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -52,9 +52,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - profile: minimal components: rustfmt - name: Check Formating run: cargo fmt --all -- --check @@ -65,9 +64,8 @@ jobs: - uses: Swatinem/rust-cache@v2 - name: Install deps run: sudo apt-get -qy update && sudo apt-get install -y libssl-dev libssl1.1 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - profile: minimal components: clippy - name: Check workflow permissions id: check_permissions diff --git a/.github/workflows/doc-test.yaml b/.github/workflows/doc-test.yaml index 06f4abf2dd..0ea5662383 100644 --- a/.github/workflows/doc-test.yaml +++ b/.github/workflows/doc-test.yaml @@ -14,9 +14,8 @@ jobs: - uses: actions/checkout@v3 - name: Install deps run: sudo apt-get -qy update && sudo apt-get install -y libssl-dev libssl1.1; sudo apt-get clean - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - profile: minimal - uses: Swatinem/rust-cache@v2 - name: make docs run: | diff --git a/.github/workflows/draft-release.yaml b/.github/workflows/draft-release.yaml index b59997ae1a..eb05b3d596 100644 --- a/.github/workflows/draft-release.yaml +++ b/.github/workflows/draft-release.yaml @@ -22,9 +22,8 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - profile: minimal toolchain: stable - uses: Swatinem/rust-cache@v2 - name: Install cargo-edit diff --git a/.github/workflows/eqc.yaml b/.github/workflows/eqc.yaml index a401afaec9..bce471d26c 100644 --- a/.github/workflows/eqc.yaml +++ b/.github/workflows/eqc.yaml @@ -17,9 +17,8 @@ jobs: - name: Verify valid EQC_LICENSE run: test -n "${{secrets.EQC_LICENSE}}" - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - profile: minimal - uses: Swatinem/rust-cache@v2 - uses: erlef/setup-beam@v1 with: @@ -46,9 +45,8 @@ jobs: - name: Verify valid EQC_LICENSE run: test -n "${{secrets.EQC_LICENSE}}" - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - profile: minimal - uses: Swatinem/rust-cache@v2 - uses: erlef/setup-beam@v1 with: diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index b3f0a51795..af5c46104d 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -45,9 +45,8 @@ jobs: # # this might remove tools that are actually needed, # # if set to "true" but frees about 6 GB # tool-cache: false - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - profile: minimal components: llvm-tools-preview - uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/publish-crates.yaml b/.github/workflows/publish-crates.yaml index b20b7b23b5..1dabd08343 100644 --- a/.github/workflows/publish-crates.yaml +++ b/.github/workflows/publish-crates.yaml @@ -10,9 +10,8 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - profile: minimal toolchain: stable - name: Publish tremor-common to crates.io uses: katyo/publish-crates@v1 @@ -28,9 +27,8 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - profile: minimal toolchain: stable - name: Publish tremor-value to crates.io uses: katyo/publish-crates@v1 @@ -45,9 +43,8 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - profile: minimal toolchain: stable - name: Publish tremor-influx to crates.io uses: katyo/publish-crates@v1 @@ -63,9 +60,8 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - profile: minimal toolchain: stable - name: Publish tremor-script to crates.io uses: Wandalen/wretry.action@v1.0.42 @@ -82,9 +78,8 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - profile: minimal toolchain: stable - name: Find updated version run: | diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index a7b7a37308..dacd2e1d77 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -23,9 +23,8 @@ jobs: # tool-cache: false - name: Install Docker Image run: ./.github/scripts/install-docker-images.sh - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - profile: minimal components: llvm-tools-preview - uses: Swatinem/rust-cache@v2 - name: Install cargo-llvm-cov