forked from Subito-it/vonage-go-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 973 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
38
39
40
name: "Adevinta's Vonage Go SDK"
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
lint:
name: "Standards checks"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
show-progress: false
- uses: actions/setup-go@v5
with:
go-version: "1.23"
- uses: golangci/golangci-lint-action@v6
with:
version: v1.60
args: -v --exclude-dirs internal pkg
test:
name: "Run tests"
strategy:
fail-fast: false
matrix:
go-version: ["1.18", "1.23"]
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v4
with:
show-progress: false
- run: "go test -v github.com/adevinta/vonage-go-sdk github.com/adevinta/vonage-go-sdk/jwt github.com/adevinta/vonage-go-sdk/ncco"