Skip to content

Commit

Permalink
use ci-setup-workflow@use-rust-toolchain-toml branch
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
  • Loading branch information
jprendes committed Nov 7, 2024
1 parent 0313664 commit b1b6f0f
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 31 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/Benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ jobs:

- uses: actions/checkout@v4

- uses: hyperlight-dev/ci-setup-workflow@v1.0.0
with:
rust-toolchain: "1.81.0"
- uses: hyperlight-dev/ci-setup-workflow@use-rust-toolchain-toml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/CargoPublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ jobs:
fetch-depth: 0
fetch-tags: true

- uses: hyperlight-dev/ci-setup-workflow@v1.0.0
with:
rust-toolchain: "1.81.0"
- uses: hyperlight-dev/ci-setup-workflow@use-rust-toolchain-toml

- name: Check crate versions
shell: bash
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/CreateRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: hyperlight-dev/ci-setup-workflow@v1.0.0
with:
rust-toolchain: "1.81.0"
- uses: hyperlight-dev/ci-setup-workflow@use-rust-toolchain-toml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -41,9 +39,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: hyperlight-dev/ci-setup-workflow@v1.0.0
with:
rust-toolchain: "1.81.0"
- uses: hyperlight-dev/ci-setup-workflow@use-rust-toolchain-toml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down Expand Up @@ -109,9 +105,7 @@ jobs:
fetch-depth: 0
fetch-tags: true

- uses: hyperlight-dev/ci-setup-workflow@v1.0.0
with:
rust-toolchain: "1.81.0"
- uses: hyperlight-dev/ci-setup-workflow@use-rust-toolchain-toml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/ValidatePullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ jobs:
systeminfo
# Run this so we can use just targets in this workflow
- uses: hyperlight-dev/ci-setup-workflow@v1.0.0
with:
rust-toolchain: "1.81.0"
- uses: hyperlight-dev/ci-setup-workflow@use-rust-toolchain-toml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down Expand Up @@ -114,9 +112,7 @@ jobs:
echo "cat /etc/os-release"
cat /etc/os-release
- uses: hyperlight-dev/ci-setup-workflow@v1.0.0
with:
rust-toolchain: "1.81.0"
- uses: hyperlight-dev/ci-setup-workflow@use-rust-toolchain-toml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/dep_build_guest_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: hyperlight-dev/ci-setup-workflow@v1.0.0
with:
rust-toolchain: "1.81.0"
- uses: hyperlight-dev/ci-setup-workflow@use-rust-toolchain-toml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/dep_fuzzing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- uses: hyperlight-dev/ci-setup-workflow@v1.0.0
with:
rust-toolchain: "1.81.0"
- uses: hyperlight-dev/ci-setup-workflow@use-rust-toolchain-toml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Set up nightly rust
uses: dtolnay/rust-toolchain@nightly
run: rustup install nightly

- name: Build rust binaries
run: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/dep_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: hyperlight-dev/ci-setup-workflow@v1.0.0
with:
rust-toolchain: "nightly"
- uses: hyperlight-dev/ci-setup-workflow@use-rust-toolchain-toml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Set up nightly rust
run: rustup install nightly # used by rust-fmt

- name: fmt
run: just fmt-check

Expand Down
1 change: 1 addition & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ channel = "1.81.0"
# of nightly we use in the fuzzing workflow.

targets = [ "x86_64-unknown-linux-none", "x86_64-pc-windows-msvc" ]
profile = "minimal"

0 comments on commit b1b6f0f

Please sign in to comment.