Skip to content

Commit

Permalink
fix toolchain for github ci
Browse files Browse the repository at this point in the history
Signed-off-by: Heinz N. Gies <[email protected]>
  • Loading branch information
Licenser committed Oct 28, 2023
1 parent 9ce2f1d commit fbbb748
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 26 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/doc-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/draft-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/eqc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/publish-crates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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/[email protected]
Expand All @@ -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: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fbbb748

Please sign in to comment.