DEV Community

Discussion on: GitHub Actions best practices for Rust projects

Collapse
 
okias profile image
David Heidelberg

Great article, thank you! I did used your howto to wire SCCache to the Linux kernel build instead of Rust code.

Meanwhile versioning slightly changed for newer versions of SCCache, so you may want update the article :)

        env:
          LINK: https://github.com/mozilla/sccache/releases/download
          SCCACHE_VERSION: 0.2.15
        run: |
          export SCCACHE_FILE=sccache-v$SCCACHE_VERSION-x86_64-unknown-linux-musl
          mkdir -p $HOME/.local/bin
          curl -L "$LINK/v$SCCACHE_VERSION/$SCCACHE_FILE.tar.gz" | tar xz
Enter fullscreen mode Exit fullscreen mode