diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index e69e57c..e8c7d1b 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -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 diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 64d6e88..ad18598 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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