Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Am I using it correctly? #224

Open
TheGP opened this issue Jan 7, 2025 · 1 comment
Open

Am I using it correctly? #224

TheGP opened this issue Jan 7, 2025 · 1 comment

Comments

@TheGP
Copy link

TheGP commented Jan 7, 2025

It seems it doesn't work:

name: Rust

on:
  push:
    branches: [ "master" ]
  pull_request:
    branches: [ "master" ]

env:
  CARGO_TERM_COLOR: always
  CARGO_INCREMENTAL: 0 # Disable incremental compilation for faster from-scratch builds

jobs:
  build:

    runs-on: ubuntu-24.04

    steps:
    - uses: actions/checkout@v4

    - name: Rust Cache
      uses: Swatinem/[email protected]

    - name: Build
      run: cargo build --release
      env:
        DATABASE_URL: ${{ secrets.DATABASE_URL_LOCAL }}
@TheGP
Copy link
Author

TheGP commented Jan 7, 2025

Ah, so it fails if tests fail. Do you know if I can launch cache saving manually before the tests run?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant