summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDawid Dziurla <dawidd0811@gmail.com>2020-03-20 14:03:38 +0100
committerJesse Duffield <jessedduffield@gmail.com>2020-03-21 12:55:44 +1100
commita990fbc3eb5858b723ee9c47d1abbc7f542df552 (patch)
treea53bbb5f7cd7821d149d89b4070dde6a23d0d294
parente5574e7fe5244cd5c29a48fe7ff050c2c52b7ccf (diff)
Don't run codecov or golangci Actions
-rw-r--r--.github/workflows/ci.yml11
1 files changed, 3 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 085a632b3..9afb55ade 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -12,21 +12,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- - name: Run gofmt -s
+ - name: Format
run: |
if [ $(find . ! -path "./vendor/*" -name "*.go" -exec gofmt -s -d {} \;|wc -l) -gt 0 ]; then
find . ! -path "./vendor/*" -name "*.go" -exec gofmt -s -d {} \;
exit 1;
fi
- - name: Run tests
+ - name: Test
run: |
./test.sh
- - name: Push on codecov result
- uses: codecov/codecov-action@v1
- - name: Run golangci-lint
- continue-on-error: true
- uses: actions-contrib/golangci-lint@v1
- - name: Compile project on every platform
+ - name: Build
run: |
go get github.com/mitchellh/gox
gox -parallel 4 -os "linux freebsd netbsd windows" -osarch "darwin/i386 darwin/amd64"