-
Notifications
You must be signed in to change notification settings - Fork 6
33 lines (33 loc) · 795 Bytes
/
go.yaml
File metadata and controls
33 lines (33 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Go
on: [push]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Lint
uses: gardenbed/actions/go-lint@main
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Test
id: test
uses: gardenbed/actions/go-cover@main
with:
codecov_token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload Test Report
uses: actions/upload-artifact@v5
with:
name: coverage-report
path: ${{ steps.test.outputs.coverage_report_file }}
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v6
- name: Build Binary
run: go build .