Skip to content

Commit

Permalink
fix: Fix linter run
Browse files Browse the repository at this point in the history
  • Loading branch information
mbobakov committed Jan 14, 2024
1 parent 51c5627 commit 3fa479d
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,7 @@ on:
- master

jobs:
go-linter:
name: Go Linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: golangci/golangci-lint-action@v2
with:
version: v1.52.0
args: --timeout=5m

run-tests:
lint-and-tests:
name: Run Tests
runs-on: ubuntu-latest
steps:
Expand All @@ -26,6 +16,8 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: "^1.20.1"
- name: lint
run: make lint
- name: Run unit tests
run: make test
- name: Run integration tests
Expand All @@ -34,7 +26,7 @@ jobs:
create-release:
name: Create Release
if: ${{ github.ref == 'refs/heads/master' }}
needs: [run-tests, go-linter]
needs: [lint-and-tests]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 3fa479d

Please sign in to comment.