From 9ce9f44e3996eec4e6cf85326a9acea6a51f693c Mon Sep 17 00:00:00 2001 From: thepetk Date: Mon, 28 Aug 2023 14:12:34 +0100 Subject: [PATCH] Update github actions to use nodejs 16 Signed-off-by: thepetk --- .github/workflows/codecov.yml | 6 +++--- .github/workflows/go.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 617525a3..0ef5dfb1 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -8,14 +8,14 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v2.3.1 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 with: persist-credentials: false - name: Set up Go 1.x - uses: actions/setup-go@v2 + uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 with: go-version: 1.19 - name: Run tests run: make test - name: Codecov - uses: codecov/codecov-action@v2.1.0 + uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 33b15180..e16698ad 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,13 +14,13 @@ jobs: steps: - name: Setup Go environment - uses: actions/setup-go@v2.1.3 + uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 with: go-version: 1.19 id: go - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - name: Check go mod status run: | @@ -75,4 +75,4 @@ jobs: sarif_file: gosec.sarif - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2.1.0 \ No newline at end of file + uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 \ No newline at end of file