fix: github workflow

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

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

Loading…
Cancel
Save