Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

replace Travis with Actions #281

Merged
merged 1 commit into from
Jan 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Go Test

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

jobs:

test:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.11", "1.12", "1.13", "1.14", "1.15"]
env:
GOFLAGS: "-mod=vendor"
steps:
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}

- name: Install golint
run: go install ./vendor/golang.org/x/lint/golint
- name: Go Lint
run: make vet lint
- name: Go Test
run: make test-nohsm test-trust
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion cmd/tools/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ package tools

import (
_ "golang.org/x/lint/golint"
_ "golang.org/x/tools/cmd/goimports"
)
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,5 @@ require (
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550
golang.org/x/lint v0.0.0-20190930215403-16217165b5de
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e // indirect
golang.org/x/tools v0.0.0-20191216052735-49a3e744a425
gopkg.in/yaml.v2 v2.2.1
)
43 changes: 0 additions & 43 deletions vendor/golang.org/x/tools/cmd/goimports/doc.go

This file was deleted.

Loading