fix(ci): ci improvements

This commit is contained in:
Edgar 2024-02-14 09:05:42 +01:00
parent dd671afd54
commit e715024432
No known key found for this signature in database
GPG key ID: 70ADAE8F35904387
2 changed files with 5 additions and 4 deletions

View file

@ -16,7 +16,7 @@ jobs:
TABLEGEN_170_PREFIX: /usr/lib/llvm-17/
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.75.0
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.75.0
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --all -- --check
@ -56,7 +56,7 @@ jobs:
sudo rm -rf /usr/share/dotnet/
sudo rm -rf /usr/local/lib/android
- name: Setup rust env
uses: dtolnay/rust-toolchain@1.75.0
uses: dtolnay/rust-toolchain@stable
- name: Retreive cached dependecies
uses: Swatinem/rust-cache@v2
- name: add llvm deb repository

View file

@ -17,7 +17,7 @@ jobs:
sudo rm -rf /usr/share/dotnet/
sudo rm -rf /usr/local/lib/android
- name: Setup rust env
uses: dtolnay/rust-toolchain@1.75.0
uses: dtolnay/rust-toolchain@stable
- name: Retreive cached dependecies
uses: Swatinem/rust-cache@v2
- name: add llvm deb repository
@ -35,6 +35,7 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v1
with:
body_path: ${{ github.workspace }}CHANGELOG.md
generate_release_notes: true
files: |
README.md