forked from pfnet-research/git-ghost
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 851 Bytes
/
Copy pathci.yml
File metadata and controls
39 lines (37 loc) · 851 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
38
39
name: CI
on:
push:
branches: [ master ]
tags-ignore: [ "**" ]
paths-ignore: [ "**.md"]
pull_request:
types: [opened, synchronize]
paths-ignore: [ "**.md" ]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ~1.19
- name: Check out
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Get dependencies
run: go mod download
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.50.0
args: --config golangci.yml
- name: Build
run: make install e2e
- name: Test With Coverage
run: make coverage
- name: Send Coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov