Skip to content

Commit

Permalink
Merge pull request #281 from cloudflare/add-gh-action
Browse files Browse the repository at this point in the history
replace Travis with Actions
  • Loading branch information
nickysemenza authored Jan 22, 2021
2 parents 92fec07 + 3bdb599 commit a3cb6f2
Show file tree
Hide file tree
Showing 33 changed files with 31 additions and 18,660 deletions.
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

0 comments on commit a3cb6f2

Please # to comment.