Skip to content

Commit

Permalink
Omit build job from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cbertinato committed Mar 9, 2024
1 parent 174f75c commit e08d43b
Showing 1 changed file with 7 additions and 24 deletions.
31 changes: 7 additions & 24 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,12 @@ env:
GOLANG_VERSION: '1.22'

jobs:
unit-tests:
name: Unit tests running
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GOLANG_VERSION }}

- name: Checkout code
uses: actions/[email protected]

- name: Unit tests running
run: |
go test -v ./...
linting:
name: Go code linting
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ env.GOLANG_VERSION }}

Expand All @@ -43,19 +26,19 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
args: --verbose --timeout 6m
build:
name: Build creation

unit-tests:
name: Unit tests running
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ env.GOLANG_VERSION }}

- name: Checkout code
uses: actions/[email protected]

- name: Build creation
- name: Unit tests running
run: |
go build -v
go test -v ./...

0 comments on commit e08d43b

Please sign in to comment.