Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit 0ad4589

Browse files
authored
Add main workflow (#2)
1 parent 515f7f3 commit 0ad4589

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/main.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Main
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- name: Set up Go
15+
uses: actions/setup-go@v4
16+
with:
17+
go-version-file: 'go.mod'
18+
19+
- name: Check
20+
run: make check
21+
22+
- name: Upload coverage to Codecov
23+
uses: codecov/codecov-action@v3
24+
with:
25+
token: ${{ secrets.CODECOV_TOKEN }}
26+
files: ./set.out
27+
verbose: true

0 commit comments

Comments
 (0)