From a990fbc3eb5858b723ee9c47d1abbc7f542df552 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Fri, 20 Mar 2020 14:03:38 +0100 Subject: [PATCH] Don't run codecov or golangci Actions --- .github/workflows/ci.yml | 11 +++-------- 1 file 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"