From c0b1ab3ba0ccc35e23d002d948eb240bc1f50b25 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Fri, 31 May 2024 10:56:19 +0200 Subject: [PATCH] latest actions --- .github/workflows/pr-go-mod-tidy-mocks.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr-go-mod-tidy-mocks.yml b/.github/workflows/pr-go-mod-tidy-mocks.yml index 53b75468fb9c..7d66d72e3102 100644 --- a/.github/workflows/pr-go-mod-tidy-mocks.yml +++ b/.github/workflows/pr-go-mod-tidy-mocks.yml @@ -14,11 +14,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: 'latest' + go-version: "1.22" + check-latest: true - name: Run go mod tidy run: ./scripts/go-mod-tidy-all.sh - name: Check for diffs @@ -33,11 +34,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: 'latest' + go-version: "1.22" + check-latest: true - name: Generate mocks run: make mocks - name: Check for diffs