From 7dd53914e0c4d000f42b7e37da90139fbd52bcaa Mon Sep 17 00:00:00 2001 From: scorpioborn <97235353+scorpioborn@users.noreply.github.com> Date: Fri, 20 Oct 2023 12:47:29 +0300 Subject: [PATCH] workflows: upgrade setup-go --- .github/workflows/gosec.yml | 4 ++-- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/gosec.yml b/.github/workflows/gosec.yml index 60f8681c..9e1268ff 100644 --- a/.github/workflows/gosec.yml +++ b/.github/workflows/gosec.yml @@ -13,7 +13,7 @@ jobs: GO111MODULE: on steps: - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: path: /usr/local/go/bin go-version: '1.20' @@ -25,4 +25,4 @@ jobs: - name: Run Gosec Security Scanner uses: cosmos/gosec@master with: - args: '-exclude-generated ./...' + args: './...' diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index df78d908..d5dbb7e8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: go-version: '1.20' - uses: technote-space/get-diff-action@v6.0.1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 674d542e..2b519427 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: install-tparse: runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: go-version: '1.20' - name: Display go version @@ -33,7 +33,7 @@ jobs: go-arch: ["amd64", "arm", "arm64"] steps: - uses: actions/checkout@v2 - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: go-version: '1.20' - uses: technote-space/get-diff-action@v4 @@ -49,7 +49,7 @@ jobs: split-test-files: runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: go-version: '1.20' - uses: actions/checkout@v2 @@ -84,7 +84,7 @@ jobs: part: ["00", "01", "02", "03"] steps: - uses: actions/checkout@v2 - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: go-version: '1.20' - uses: technote-space/get-diff-action@v4 @@ -162,7 +162,7 @@ jobs: part: ["00", "01", "02", "03"] steps: - uses: actions/checkout@v2 - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: go-version: '1.20' - uses: technote-space/get-diff-action@v4