Skip to content

Commit eb9e91e

Browse files
authored
Merge pull request #3 from halprin/github-ci
Add CI
2 parents c46abdb + c9b1244 commit eb9e91e

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/go.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Go
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
13+
build:
14+
name: Build and Test
15+
runs-on: ubuntu-latest
16+
steps:
17+
18+
- name: Set-up Go 1.x
19+
uses: actions/setup-go@v2
20+
with:
21+
go-version: ^1.15
22+
id: go
23+
24+
- name: Check out code into the Go module directory
25+
uses: actions/checkout@v2
26+
27+
- name: Get dependencies
28+
run: go get -v -t -d ./cmd/
29+
30+
- name: Build
31+
run: go build -o delete-dynamodb-items -v ./cmd/

0 commit comments

Comments
 (0)