From 5a8be65793069c147b8bc9646460c56e747b4acd Mon Sep 17 00:00:00 2001 From: Forest Vey Date: Tue, 26 Mar 2024 15:45:26 -0700 Subject: [PATCH] Fix Flakey Linter Action (#48) * Upgrading actions to latest versions. Signed-off-by: forestmvey * Increasing timeout for linter Signed-off-by: forestmvey --------- Signed-off-by: forestmvey --- .github/workflows/devskim.yml | 2 +- .github/workflows/go-build-test.yml | 8 ++++---- .github/workflows/release.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/devskim.yml b/.github/workflows/devskim.yml index 7310b61..0a35c78 100644 --- a/.github/workflows/devskim.yml +++ b/.github/workflows/devskim.yml @@ -23,7 +23,7 @@ jobs: security-events: write steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run DevSkim scanner uses: microsoft/DevSkim-Action@v1 diff --git a/.github/workflows/go-build-test.yml b/.github/workflows/go-build-test.yml index 924e3d3..ed829ca 100644 --- a/.github/workflows/go-build-test.yml +++ b/.github/workflows/go-build-test.yml @@ -35,7 +35,7 @@ jobs: GO111MODULE: on - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build run: go build -v . @@ -47,7 +47,7 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version: 'stable' @@ -56,7 +56,7 @@ jobs: GO111MODULE: on - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: version: v1.54 - args: --exclude ".Log(.*)|format.Set|level.Set" + args: --exclude ".Log(.*)|format.Set|level.Set" --timeout=2m diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3cf8f52..5093b6f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: GO111MODULE: on - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set env run: | echo "VERSION=$(echo ${GITHUB_REF#refs/*/} | cut -c 2-)" >> $GITHUB_ENV