fix: github workflow

main
Antonio De Lucreziis 9 months ago
parent f92cc77d9d
commit 3a4e4f2993

@ -13,6 +13,8 @@ jobs:
steps:
- name: Setup | Checkout
uses: actions/checkout@v2
- name: Install GTK4 dependencies
run: apt-get install -y libgtk-4-dev
- name: Setup | Rust
uses: ATiltedTree/setup-rust@v1
with:
@ -26,6 +28,8 @@ jobs:
steps:
- name: Setup | Checkout
uses: actions/checkout@v2
- name: Install GTK4 dependencies
run: apt-get install -y libgtk-4-dev
- name: Setup | Rust
uses: ATiltedTree/setup-rust@v1
with:
@ -34,20 +38,16 @@ jobs:
run: cargo check
test:
name: Test
strategy:
matrix:
rust:
- stable
- beta
- nightly
runs-on: ubuntu-latest
needs: [compile]
steps:
- name: Setup | Checkout
uses: actions/checkout@v2
- name: Install GTK4 dependencies
run: apt-get install -y libgtk-4-dev
- name: Setup | Rust
uses: ATiltedTree/setup-rust@v1
with:
rust-version: ${{ matrix.rust }}
rust-version: stable
- name: Build | Compile
run: cargo test

Loading…
Cancel
Save