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 957318b
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,8 @@ 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
name: lint-and-test
strategy:
matrix:
go-version: [1.18, 1.22]
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 957318b

Please sign in to comment.