Skip to content

Commit

Permalink
chore: update action deps
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp committed Sep 10, 2024
1 parent 44cdb95 commit b34d157
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
branches:
- main

env:
GO_VERSION: '1.21.3'

jobs:
docker-build:
name: docker-build
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: lint
on:
pull_request:

env:
GO_VERSION: '1.21.3'

jobs:
golangci-lint:
name: golangci-lint
Expand All @@ -14,7 +11,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: 'go.mod'
- uses: technote-space/[email protected]
with:
# This job will pass without running if go.mod, go.sum, and *.go
Expand All @@ -23,9 +20,9 @@ jobs:
**/**.go
go.mod
go.sum
- uses: golangci/golangci-lint-action@v3.7.0
- uses: golangci/golangci-lint-action@v6.1.0
with:
version: v1.54.2
version: v1.61.0
args: --timeout 10m
github-token: ${{ secrets.github_token }}
if: env.GIT_DIFF
8 changes: 1 addition & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,14 @@ name: test
on:
pull_request:


env:
GO_VERSION: '1.21.3'

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}

go-version-file: 'go.mod'
- name: Run tests
run: make test
timeout-minutes: 5

0 comments on commit b34d157

Please sign in to comment.