docs: Remove policy version from .NET quickstart (#2065) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cache dependencies | |
on: | |
push: | |
branches: | |
- main | |
workflow_call: | |
jobs: | |
changes: | |
name: Check for changes | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
outputs: | |
deps: ${{ steps.filter.outputs.deps }} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Check for changes | |
id: filter | |
uses: dorny/paths-filter@v3 | |
with: | |
filters: | | |
deps: | |
- .github/workflows/cache.yaml | |
- "**/go.mod" | |
cache: | |
name: Cache dependencies | |
needs: changes | |
if: ${{ needs.changes.outputs.deps == 'true' }} | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Install Go and cache dependencies | |
id: setup | |
uses: ./.github/actions/setup-go | |
with: | |
write_deps_cache: true | |
write_build_cache: true | |
- name: Warm cache | |
if: ${{ steps.setup.outputs.cache_hit != 'true' }} | |
run: make warm-cache |