Skip to content

Commit

Permalink
Merge branch 'main' into fix-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
martijneken authored Jun 6, 2024
2 parents 09c6df5 + 04ed8ec commit 1e365e7
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ jobs:
with:
go-version: '^1.16'

- name: Install dependencies
if: ${{ env.ACT }}
run: |
go install github.com/bazelbuild/[email protected]
- name: Cache
uses: actions/cache@v2
with:
Expand Down Expand Up @@ -92,6 +97,15 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install dependencies
if: ${{ env.ACT }}
run: |
curl -OL https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init
chmod +x ./rustup-init
./rustup-init -y
rm rustup-init
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Update Rust
run: |
rustup toolchain install stable --component clippy --component rustfmt
Expand Down Expand Up @@ -131,6 +145,15 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install dependencies
if: ${{ env.ACT }}
run: |
curl -OL https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init
chmod +x ./rustup-init
./rustup-init -y
rm rustup-init
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Update Rust
run: |
rustup toolchain install nightly --component clippy --component rustfmt
Expand Down Expand Up @@ -168,6 +191,17 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install dependencies
if: ${{ env.ACT }}
run: |
curl -OL https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init
chmod +x ./rustup-init
./rustup-init -y
rm rustup-init
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
export PATH=$PATH:$HOME/.cargo/bin
cargo install cargo-outdated
- name: Run cargo outdated
run: cargo outdated --root-deps-only --exit-code 1

Expand All @@ -177,6 +211,17 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install dependencies
if: ${{ env.ACT }}
run: |
curl -OL https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init
chmod +x ./rustup-init
./rustup-init -y
rm rustup-init
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
export PATH=$PATH:$HOME/.cargo/bin
cargo install cargo-audit
- name: Run cargo audit
run: |
cp -p bazel/cargo/Cargo.Bazel.lock Cargo.lock
Expand Down Expand Up @@ -204,6 +249,15 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install dependencies
if: ${{ env.ACT }}
run: |
curl -OL https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init
chmod +x ./rustup-init
./rustup-init -y
rm rustup-init
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Update Rust
run: |
rustup toolchain install stable --component clippy --component rustfmt
Expand Down Expand Up @@ -258,6 +312,15 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install dependencies
if: ${{ env.ACT }}
run: |
curl -OL https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init
chmod +x ./rustup-init
./rustup-init -y
rm rustup-init
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Update Rust
run: |
rustup toolchain install nightly --component clippy --component rustfmt
Expand Down

0 comments on commit 1e365e7

Please sign in to comment.