-
-
Notifications
You must be signed in to change notification settings - Fork 7
37 lines (30 loc) · 718 Bytes
/
Copy pathgo.yml
File metadata and controls
37 lines (30 loc) · 718 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
34
35
36
37
name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- name: Set up Golang
uses: actions/setup-go@v2
with:
go-version: ^1.24
id: go
- name: Setup env
run: |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- name: Check out code into the Go module directory
uses: actions/checkout@v6
with:
fetch-depth: 2
- name: Install Tools
run: make install-tools
- name: Build
run: make ci
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)