From 751c30e673bcfa67c5036d148cdec79a757c2777 Mon Sep 17 00:00:00 2001 From: bt353 Date: Thu, 19 Dec 2024 03:06:38 -0500 Subject: [PATCH] Update workflow --- .github/workflows/test.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f7ad88a..62a7f60 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,7 +1,9 @@ name: Tests +permissions: + contents: read + pull-requests: write on: push: - jobs: tests-off: name: ${{ matrix.os }} - Go v${{ matrix.go-version }} @@ -12,15 +14,13 @@ jobs: - "1.18.x" os: - "ubuntu-latest" - steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Go ${{ matrix.go }} - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - - name: Test run: | go mod tidy -v