diff --git a/.github/workflows/pr_build.yaml b/.github/workflows/pr_build.yaml index a5dc9b6..db7a884 100644 --- a/.github/workflows/pr_build.yaml +++ b/.github/workflows/pr_build.yaml @@ -2,8 +2,6 @@ name: PR Build on: pull_request: {} workflow_dispatch: {} -env: - GO_VERSION: 1.23 permissions: contents: read @@ -29,11 +27,13 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: ${{ env.GO_VERSION }} + cache: true + cache-dependency-path: go.sum + go-version-file: go.mod - name: Run unit tests run: make test @@ -46,4 +46,3 @@ jobs: steps: - name: Shout it out run: echo SUCCESS -