Skip to content

Commit

Permalink
Add new workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Jul 17, 2021
1 parent 5d53415 commit 0b75e1e
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/go.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: linux
on: [push]
jobs:

build:
name: build
runs-on: [ ubuntu-latest ]
steps:

- name: Set up Go
uses: actions/setup-go@v2.1.3
with:
go-version: 1.15
id: go

- name: Go version
run: go version

- name: Check out code into the Go module directory
uses: actions/checkout@v2.3.4

- name: Get dependencies
run: go get -v -t -d ./...

- name: Build
run: go build -v .

- name: Test
run: go test ./...
26 changes: 26 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: windows
on: [push]
jobs:

build:
name: build
runs-on: [ windows-latest ]
steps:

- name: Set up Go
uses: actions/setup-go@v2.1.3
with:
go-version: 1.15
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2.3.4

- name: Get dependencies
run: go get -v -t -d ./...

- name: Build
run: go build -v .

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

0 comments on commit 0b75e1e

Please sign in to comment.