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

github: add cache-dependency-path to setup-go #7323

Merged
merged 4 commits into from
Jun 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout repo
uses: actions/checkout@v4

# Setup the environment.
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Checkout repo
uses: actions/checkout@v4
cache-dependency-path: "**/go.sum"

# Run the vet-proto checks.
- name: vet-proto
Expand Down Expand Up @@ -79,14 +81,15 @@ jobs:
- name: Setup GRPC environment
if: matrix.grpcenv != ''
run: echo "${{ matrix.grpcenv }}" >> $GITHUB_ENV

- name: Checkout repo
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.goversion }}

- name: Checkout repo
uses: actions/checkout@v4
cache-dependency-path: "**/*go.sum"

# Only run vet for 'vet' runs.
- name: Run vet.sh
Expand Down
Loading