Skip to content

Commit

Permalink
Merge pull request #33 from greymd/enable-actions
Browse files Browse the repository at this point in the history
Move to GitHub Actions
  • Loading branch information
greymd authored Aug 8, 2020
2 parents 7836875 + 20feb38 commit d89fee5
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 23 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Go

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

jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.13
id: go

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

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

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

- name: Upload to Codecov
run: bash <(curl -s https://codecov.io/bash)

golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v1
with:
version: v1.29
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

0 comments on commit d89fee5

Please sign in to comment.