From e8e9729b7ef951973de79911ac0f19ca83b3572f Mon Sep 17 00:00:00 2001 From: Rob Dimsdale-Zucker Date: Tue, 16 Jul 2024 13:36:45 -0700 Subject: [PATCH] Bump actions to latest versions. --- .github/workflows/auto-merge.yml | 2 +- .github/workflows/test-pull-request.yml | 14 ++++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 76ead31..b79efde 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Fetch Pull Request Details id: pull_request diff --git a/.github/workflows/test-pull-request.yml b/.github/workflows/test-pull-request.yml index 9a16d0b..0ab4234 100644 --- a/.github/workflows/test-pull-request.yml +++ b/.github/workflows/test-pull-request.yml @@ -10,20 +10,18 @@ jobs: name: Unit Tests runs-on: ubuntu-latest steps: - - name: Setup Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: 1.19.x + go-version: stable - name: Checkout - uses: actions/checkout@v3 - - - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* || true + uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Run Unit Tests - run: | - go test ./... + run: go test ./... approve: name: Approve Bot PRs