-
Notifications
You must be signed in to change notification settings - Fork 12
37 lines (31 loc) · 924 Bytes
/
ci.yml
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:
integration:
name: Integration Tests
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.17.x
uses: actions/setup-go@v2
with:
go-version: ^1.17
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
fetch-depth: 0
# Check out pull request's HEAD commit instead of the merge commit to
# work-around an issue where wrong a commit is being checked out.
# For more details, see:
# https://github.com/actions/checkout/issues/299.
# ref: ${{ github.event.pull_request.head.sha }}
- name: Get dependencies
run: go get -v -t -d ./...
- name: Run Nigiri
uses: vulpemventures/nigiri-github-action@v1
- name: Test
run: make test