Skip to content

Commit

Permalink
Fix Flakey Linter Action (awslabs#48)
Browse files Browse the repository at this point in the history
* Upgrading actions to latest versions.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Increasing timeout for linter

Signed-off-by: forestmvey <forestv@bitquilltech.com>

---------

Signed-off-by: forestmvey <forestv@bitquilltech.com>
  • Loading branch information
forestmvey committed May 7, 2024
1 parent 14e0e7e commit b7d3bf8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/devskim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/go-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand All @@ -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'
Expand All @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b7d3bf8

Please sign in to comment.