Skip to content
This repository was archived by the owner on Mar 22, 2025. It is now read-only.

Commit 9f0bbb8

Browse files
committed
Creates initial workflow
1 parent ea06901 commit 9f0bbb8

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/main.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Tests and Linters
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
Linters:
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 10
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
ref: master
16+
- name: Setup go
17+
uses: actions/setup-go@v5
18+
with:
19+
go-version: 1.23
20+
- name: Install dependencies
21+
run: make deps
22+
- name: Run linters
23+
run: make lint
24+
25+
Tests:
26+
runs-on: ubuntu-latest
27+
timeout-minutes: 10
28+
steps:
29+
- uses: actions/checkout@v4
30+
with:
31+
ref: master
32+
- name: Setup go
33+
uses: actions/setup-go@v5
34+
with:
35+
go-version: 1.23
36+
- name: Run tests
37+
run: make test
38+
- name: Report stats
39+
run: make analyse
40+

0 commit comments

Comments
 (0)