diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 31000a2..fcd9f3b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -15,8 +15,21 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ubuntu-latest-cargo-build-stable-${{ hashFiles('**/Cargo.toml') }} - name: Build run: cargo build --verbose - name: Run tests run: cargo test --verbose + - name: Upload a Build Artifact + uses: actions/upload-artifact@v4.3.0 + with: + path: target/debug/simple_render_window