mirror of
https://github.com/edg-l/edlang.git
synced 2024-11-22 07:58:24 +00:00
fix(ci): ci improvements
This commit is contained in:
parent
dd671afd54
commit
e715024432
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue