Skip to content

chore: Remove workaround for fixed gRPC-Gateway bug in `X-Forwarded-F… #490

chore: Remove workaround for fixed gRPC-Gateway bug in `X-Forwarded-F…

chore: Remove workaround for fixed gRPC-Gateway bug in `X-Forwarded-F… #490

Workflow file for this run

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