diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ceb19a5..c6929893 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,14 +40,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Cache cargo folder - uses: actions/cache@v1 - with: - path: ~/.cargo - key: ${{ matrix.platform.target }}-cargo-stable - - uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 + - name: Install Gtk (ubuntu only) if: matrix.platform.os == 'ubuntu-latest' run: | @@ -120,14 +116,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Cache cargo folder - uses: actions/cache@v1 - with: - path: ~/.cargo - key: ${{ matrix.platform.target }}-cargo-stable - - uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 + - name: Run tests shell: bash run: cargo test --package tao-macros --examples