-
Notifications
You must be signed in to change notification settings - Fork 16
51 lines (42 loc) · 999 Bytes
/
go.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
41
42
43
44
45
46
47
48
49
50
51
name: AAARRR
on:
push:
branches: [ n2 ]
pull_request:
branches: [ n2 ]
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup go1.21+
uses: actions/setup-go@v4
with:
go-version: '>=1.21'
- name: Build
run: |
./make-aar nogo
shell: bash
- name: Test
if: success()
run: |
# go test -v -race -bench=. -benchtime=100ms ./...
echo "::notice::success"
- name: Vet
run: |
# go vet ./... fails: archive.is/XcDl6
go install go.uber.org/nilaway/cmd/nilaway@latest
# fails
# go run nilaway ./...
shell: bash
# github.com/actions/upload-artifact
- name: Upload artifacts
uses: actions/upload-artifact@v3
if: success()
with:
name: firestack-aar-${{ github.sha }}
path: firestack*.aar
if-no-files-found: error