Skip to content

Commit aa95769

Browse files
Merge pull request #89 from infinityworks/gh-actions
Swap travis for GitHub Actions
2 parents 17e444e + 743a23b commit aa95769

File tree

2 files changed

+26
-12
lines changed

2 files changed

+26
-12
lines changed

.gtihub/workflows/main.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test
2+
3+
on:
4+
pull_request:
5+
branches: [ master ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- name: Setup Go
15+
uses: actions/setup-go@v3
16+
with:
17+
go-version: '1.19.5'
18+
19+
- name: Install dependencies
20+
run: go get .
21+
22+
- name: Build
23+
run: go build -v ./...
24+
25+
- name: Test
26+
run: go test -v ./...

.travis.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)