diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 0ccbb63..003bc14 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -7,15 +7,15 @@ jobs: runs-on: ubuntu-latest steps: + - name: Check out the code + uses: actions/checkout@v2 + - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version-file: go.mod id: go - - name: Check out the code - uses: actions/checkout@v2 - - name: Make CI run: make ci diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index bcc01f6..aa1a322 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -15,15 +15,15 @@ jobs: runs-on: ubuntu-latest steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v3 + - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version-file: go.mod id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - # Fix issue of setup-gcloud - run: | sudo apt-get install python2.7