Skip to content

Commit

Permalink
Added style job to GH Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TawreCZ committed Jan 30, 2025
1 parent 0e5eb7b commit 1dcd83f
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@ on:
branches: [main]

jobs:
style:
name: Tests
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.23.0"

- name: Style
run: test -z $(go fmt ./...)

tests:
name: Tests
runs-on: ubuntu-latest
Expand All @@ -18,6 +34,6 @@ jobs:
with:
go-version: "1.23.0"

- name: Force Failure
- name: Tests & Code coverage
run: go test --cover ./...

0 comments on commit 1dcd83f

Please sign in to comment.