forked from googollee/go-socket.io
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 702 Bytes
/
ci.yaml
File metadata and controls
35 lines (28 loc) · 702 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
---
name: CI
on: [push, pull_request]
jobs:
build:
name: Go ${{ matrix.go-version }}
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.13','1.14','1.15','1.16','1.17']
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Check go version
run: go version
- name: Run linter
uses: golangci/golangci-lint-action@v2
with:
version: latest
skip-go-installation: true
- name: Run tests
run: make test
- name: Run benchmarks
run: make bench