mirror of
https://github.com/edg-l/edlang.git
synced 2024-11-22 16:08: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/
|
TABLEGEN_170_PREFIX: /usr/lib/llvm-17/
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: dtolnay/rust-toolchain@1.75.0
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
@ -36,7 +36,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: dtolnay/rust-toolchain@1.75.0
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
- run: cargo fmt --all -- --check
|
- run: cargo fmt --all -- --check
|
||||||
|
@ -56,7 +56,7 @@ jobs:
|
||||||
sudo rm -rf /usr/share/dotnet/
|
sudo rm -rf /usr/share/dotnet/
|
||||||
sudo rm -rf /usr/local/lib/android
|
sudo rm -rf /usr/local/lib/android
|
||||||
- name: Setup rust env
|
- name: Setup rust env
|
||||||
uses: dtolnay/rust-toolchain@1.75.0
|
uses: dtolnay/rust-toolchain@stable
|
||||||
- name: Retreive cached dependecies
|
- name: Retreive cached dependecies
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
- name: add llvm deb repository
|
- 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/share/dotnet/
|
||||||
sudo rm -rf /usr/local/lib/android
|
sudo rm -rf /usr/local/lib/android
|
||||||
- name: Setup rust env
|
- name: Setup rust env
|
||||||
uses: dtolnay/rust-toolchain@1.75.0
|
uses: dtolnay/rust-toolchain@stable
|
||||||
- name: Retreive cached dependecies
|
- name: Retreive cached dependecies
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
- name: add llvm deb repository
|
- name: add llvm deb repository
|
||||||
|
@ -35,6 +35,7 @@ jobs:
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
|
body_path: ${{ github.workspace }}CHANGELOG.md
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
files: |
|
files: |
|
||||||
README.md
|
README.md
|
||||||
|
|
Loading…
Reference in a new issue