Skip to content

Commit

Permalink
chore(CI): merge linter and tests into one job
Browse files Browse the repository at this point in the history
  • Loading branch information
MateuszKepczynskiSauce committed Sep 18, 2024
1 parent 5ecacec commit 3e026d5
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,6 @@ on:
pull_request:

jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60
run-tests:
name: unit-tests
strategy:
Expand All @@ -32,6 +20,10 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60
- name: Run Unit Tests
run: |
run: |
go test

0 comments on commit 3e026d5

Please sign in to comment.