Workflow updates

This commit is contained in:
Piotr Siuszko 2023-12-08 09:35:30 +01:00
parent eca589f8a8
commit 1820ffd419
2 changed files with 16 additions and 8 deletions

View File

@ -19,7 +19,7 @@ jobs:
build-github-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2 # repo checkout
- uses: actions/checkout@v3 # repo checkout
- uses: actions-rs/toolchain@v1 # get rust toolchain for wasm
with:
profile: minimal
@ -27,7 +27,7 @@ jobs:
target: wasm32-unknown-unknown
override: true
- name: Rust Cache # cache the rust build artefacts
uses: Swatinem/rust-cache@v1
uses: Swatinem/rust-cache@v2
- name: Download and install Trunk binary
run: wget -qO- https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
- name: Build # build

View File

@ -13,7 +13,9 @@ jobs:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: "[Ubuntu] install dependencies"
run: sudo apt update && sudo apt install libgtk-3-dev
- uses: actions-rs/toolchain@v1
with:
profile: minimal
@ -28,7 +30,7 @@ jobs:
name: Check wasm32
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
@ -44,7 +46,9 @@ jobs:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: "[Ubuntu] install dependencies"
run: sudo apt update && sudo apt install libgtk-3-dev
- uses: actions-rs/toolchain@v1
with:
profile: minimal
@ -60,7 +64,7 @@ jobs:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
@ -76,7 +80,9 @@ jobs:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: "[Ubuntu] install dependencies"
run: sudo apt update && sudo apt install libgtk-3-dev
- uses: actions-rs/toolchain@v1
with:
profile: minimal
@ -92,7 +98,9 @@ jobs:
name: trunk
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: "[Ubuntu] install dependencies"
run: sudo apt update && sudo apt install libgtk-3-dev
- uses: actions-rs/toolchain@v1
with:
profile: minimal