* drop travis * remove travis * rename, use example * typo * different syntax * rename to test * split test and build into two jobs * add gosec job * drop gosec for now
@@ -0,0 +1,40 @@
+name: Test
+
+on:
+ push:
+ branches:
+ - "*"
+ pull_request:
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ env:
+ GO111MODULE: on
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Go
+ uses: actions/setup-go@v2
+ with:
+ go-version: 1.17
+ - name: Build
+ run: go build -v ./...
+ test:
+ - name: Test
+ run: make test
@@ -1,8 +0,0 @@
-language: go
-go:
- - 1.16.x
-services:
- - docker
-script:
- - make test
- - make security-scan
@@ -25,10 +25,6 @@ build: format
go mod tidy
go build $(LDFLAGS)
-security-scan:
- go get github.com/securego/gosec/cmd/gosec
- gosec -no-fail ./...
-
release-builds:
rm -rf build
mkdir build