From c12e9e71ad0aaeab10c0ca28b25dacc7b3ef3f86 Mon Sep 17 00:00:00 2001 From: Brady Fomegne Date: Fri, 6 Sep 2024 12:04:05 +0100 Subject: [PATCH] ci: update dependencies (#83) --- .github/workflows/coverage.yml | 10 ++-------- .github/workflows/rust.yml | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 3836048..ecd4965 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -29,9 +29,7 @@ jobs: - name: Dependencies run: | sudo apt-get install libxtst-dev libevdev-dev libxdo-dev --assume-yes - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable + - uses: Swatinem/rust-cache@v2 with: # To only cache runs from `main` @@ -39,11 +37,7 @@ jobs: - run: rustup component add llvm-tools-preview - name: Install grcov - uses: actions-rs/install@v0.1 - with: - crate: grcov - version: latest - use-tool-cache: true + run: cargo install grcov - name: build env: diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2657a81..ae8b4e6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -24,7 +24,7 @@ jobs: headless: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v2 with: # To only cache runs from `master`