Skip to content

Commit b2e00ec

Browse files
Update go.yml
1 parent d618393 commit b2e00ec

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

.github/workflows/go.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
1-
name: Go
2-
on: [push]
3-
jobs:
1+
name: sigsci-module-golang
2+
on:
3+
push:
4+
branches: [ BuildOnGithubActions ]
45

6+
jobs:
57
build:
68
name: Build
79
runs-on: ubuntu-latest
810
steps:
9-
11+
- uses: aws-actions/configure-aws-credentials@v1
12+
with:
13+
aws-access-key-id: ${{ secrets.SIGSCI_PROD_ACCESS_KEY_ID }}
14+
aws-secret-access-key: ${{ secrets.SIGSCI_PROD_SECRET_ACCESS_KEY }}
15+
aws-region: us-west-2
16+
- name: Check out code into the Go module directory
17+
uses: actions/checkout@v2
1018
- name: Set up Go 1.12
1119
uses: actions/setup-go@v1
1220
with:
1321
go-version: 1.12
1422
id: go
15-
16-
- name: Check out code into the Go module directory
17-
uses: actions/checkout@v1
18-
19-
- name: Build
20-
run: go build -v .
21-
22-
- name: Test
23-
run: go test -v .
23+
- name: Run make script
24+
run: |
25+
./make.sh
26+
env:
27+
PROD_ID: ${{ secrets.SIGSCI_PROD_CANONICAL_ID }}

0 commit comments

Comments
 (0)