diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7a3603bbc..7e7ab4546 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -101,36 +101,12 @@ jobs: uses: actions/cache@v3 with: path: | - c:/share/*dbus* - c:/lib/libexpat.lib - c:/bin/libexpat.dll - c:/bin/xmlwf.exe - c:/bin/*dbus* - c:/lib/*dbus* - c:/var/lib/*dbus* - c:/lib/*glib* - c:/lib/*gio* - c:/lib/*gobject* - c:/lib/*gmodule* - c:/lib/*gthread* - c:/lib/*gspawn* - c:/lib/*gresource* - c:/lib/*pcre* - c:/lib/*z* - c:/lib/*ffi* - c:/lib/*intl* - c:/bin/*glib* - c:/bin/*gio* - c:/bin/*gobject* - c:/bin/*gmodule* - c:/bin/*gthread* - c:/bin/*gspawn* - c:/bin/*gresource* - c:/bin/*pcre* - c:/bin/*z* - c:/bin/*ffi* - c:/bin/*intl* - key: ${{ runner.os }}-cache + c:/bin + c:/lib + c:/share + c:/var + c:/ProgramData/chocolatey + key: ${{ runner.os }}-cache-2023-08-02.2 - name: Install pkg-config if: steps.cache-deps.outputs.cache-hit != 'true' @@ -200,7 +176,7 @@ jobs: # The gdbus process above will exit when idle for more than three seconds, usually right in the middle # of the doc tests. This process will keep it alive. Start-Process gdbus.exe 'monitor -e -d org.freedesktop.DBus' - cargo test --package zbus --features windows-gdbus + cargo test --features zbus/windows-gdbus cross_check: runs-on: ubuntu-latest