mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-25 12:24:47 +02:00
Don't run codecov or golangci Actions
This commit is contained in:
parent
e5574e7fe5
commit
a990fbc3eb
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -12,21 +12,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Run gofmt -s
|
- name: Format
|
||||||
run: |
|
run: |
|
||||||
if [ $(find . ! -path "./vendor/*" -name "*.go" -exec gofmt -s -d {} \;|wc -l) -gt 0 ]; then
|
if [ $(find . ! -path "./vendor/*" -name "*.go" -exec gofmt -s -d {} \;|wc -l) -gt 0 ]; then
|
||||||
find . ! -path "./vendor/*" -name "*.go" -exec gofmt -s -d {} \;
|
find . ! -path "./vendor/*" -name "*.go" -exec gofmt -s -d {} \;
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
- name: Run tests
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
./test.sh
|
./test.sh
|
||||||
- name: Push on codecov result
|
- name: Build
|
||||||
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
|
|
||||||
run: |
|
run: |
|
||||||
go get github.com/mitchellh/gox
|
go get github.com/mitchellh/gox
|
||||||
gox -parallel 4 -os "linux freebsd netbsd windows" -osarch "darwin/i386 darwin/amd64"
|
gox -parallel 4 -os "linux freebsd netbsd windows" -osarch "darwin/i386 darwin/amd64"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user