Skip to content

Commit

Permalink
Merge pull request #89 from infinityworks/gh-actions
Browse files Browse the repository at this point in the history
Swap travis for GitHub Actions
  • Loading branch information
henrymcconville authored Feb 1, 2023
2 parents 17e444e + 743a23b commit aa95769
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 12 deletions.
26 changes: 26 additions & 0 deletions .gtihub/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test

on:
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.19.5'

- name: Install dependencies
run: go get .

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

0 comments on commit aa95769

Please sign in to comment.