File tree 3 files changed +44
-14
lines changed
3 files changed +44
-14
lines changed Original file line number Diff line number Diff line change
1
+ name : Go
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ branches :
9
+ - master
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+ strategy :
15
+ matrix :
16
+ go :
17
+ - ' 1.9'
18
+ - ' 1.10'
19
+ - ' 1.11'
20
+ - ' 1.12'
21
+ - ' 1.13'
22
+ - ' 1.14'
23
+ - ' 1.15'
24
+ - ' 1.16'
25
+ - ' 1.17'
26
+ steps :
27
+ - uses : actions/checkout@v2
28
+ - name : Set up Go
29
+ uses : actions/setup-go@v2
30
+ with :
31
+ go-version : ' ${{ matrix.go }}'
32
+ - name : ' Build with ${{ matrix.go }}'
33
+ run : go build -v ./...
34
+ - name : ' Test with ${{ matrix.go }}'
35
+ run : go test -v ./...
36
+ - name : ' TestRace with ${{ matrix.go }}'
37
+ run : go test -race -v ./...
38
+ - name : ' Bench with ${{ matrix.go }}'
39
+ run : go test -bench=. -benchmem -v ./...
40
+ - name : ' BenchRace with ${{ matrix.go }}'
41
+ run : go test -bench=. -benchmem -race -v ./...
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # goid [ ![ Build Status] ( https://travis-ci.org /petermattis/goid.svg?branch=master )] ( https://travis-ci.org/petermattis/goid )
1
+ # goid ![ Build Status] ( https://github.com /petermattis/goid/actions/workflows/go.yml/badge.svg )
2
2
3
3
Programatically retrieve the current goroutine's ID. See [ the CI
4
- configuration] ( .travis .yml ) for supported Go versions. In addition,
5
- gccgo 7.2.1 (Go 1.8.3) is supported.
4
+ configuration] ( .github/workflows/go .yml ) for supported Go versions. In
5
+ addition, gccgo 7.2.1 (Go 1.8.3) is supported.
You can’t perform that action at this time.
0 commit comments