Skip to content

Commit

Permalink
build: add lint step to CI, refactor CI definition
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrossmann committed Mar 7, 2024
1 parent c98b738 commit a9a5de5
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/test.yaml → .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Tests
name: Continuous Integration

on:
push:
Expand All @@ -8,7 +8,20 @@ on:
pull_request:

jobs:
tests:
lint:
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go version
- run: make lint

test:
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
Expand Down

0 comments on commit a9a5de5

Please sign in to comment.