Skip to content

Commit

Permalink
Create go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
elsbrock committed Jun 12, 2020
1 parent 7446220 commit 1a9dab4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
diskimage:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Ensure all files were formatted as per gofmt
run: |
gofmt -l $(find . -name '*.go') >/dev/null
- name: run build
run: go build .

- name: run tests
run: go test ./...

0 comments on commit 1a9dab4

Please sign in to comment.