Skip to content

Commit

Permalink
ci(actions): 💚 separate rust version check
Browse files Browse the repository at this point in the history
  • Loading branch information
Jisu-Woniu committed Jun 7, 2024
1 parent 54a4683 commit 7e15dbd
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/building.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,43 @@ jobs:
run: cargo hack test --rust-version --all-targets --each-feature --workspace
- name: Check dependency graph
run: cargo deny --all-features --workspace check
msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y wget clang
- name: Setup Rust toolchain
uses: moonrepo/setup-rust@v1
with:
channel: "1.74"
components: rust-src
bins: cargo-hack
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Setup mold
uses: rui314/setup-mold@v1
- name: Setup buf
uses: bufbuild/buf-setup-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup protoc
uses: Noelware/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup sccache
uses: mozilla-actions/[email protected]
- name: Enable sccache
run: |
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
- name: Check for MSRV compliance
env:
TRYBUILD: overwrite
run: cargo hack test --rust-version --all-targets --each-feature --workspace
pkg-deb:
runs-on: ubuntu-20.04
steps:
Expand Down

0 comments on commit 7e15dbd

Please sign in to comment.