name: Build with clawstor cache on: push: branches: [main] pull_request: branches: [main] jobs: build: name: Cargo build (clawstor-cached) runs-on: clawstor-cache steps: - uses: actions/checkout@v4 - name: Build with clawstor cache id: cache uses: ./.gitea/actions/cargo-cache with: workspace: '.' profile: 'dev' no-upload: ${{ github.event_name == 'pull_request' && 'true' || 'false' }} - name: Announce outcome run: | echo "cache: ${{ steps.cache.outputs.cache-outcome }}" echo "fp: ${{ steps.cache.outputs.fingerprint }}" echo "time: ${{ steps.cache.outputs.elapsed-seconds }}s"