diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9548378..2129baf 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,7 +17,14 @@ jobs: steps: - uses: actions/checkout@v2 with: - submodules: true + submodules: true + - uses: actions/cache@v2 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Install intel compute runtime run: | sudo add-apt-repository ppa:intel-opencl/intel-opencl