mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-16 00:43:46 +00:00
vs master
This commit is contained in:
parent
f0f113c0fc
commit
594c9ab23f
1 changed files with 8 additions and 7 deletions
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
|
@ -22,7 +22,9 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: git submodule update --init --recursive --force
|
- run: |
|
||||||
|
git submodule update --init --recursive --force
|
||||||
|
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.18.x
|
go-version: 1.18.x
|
||||||
|
|
@ -54,14 +56,13 @@ jobs:
|
||||||
# echo >&2 "Reproducible build broken"; cat bor1.sha256; cat bor2.sha256; exit 1
|
# echo >&2 "Reproducible build broken"; cat bor1.sha256; cat bor2.sha256; exit 1
|
||||||
# fi
|
# fi
|
||||||
|
|
||||||
|
- name: Golang-ci install
|
||||||
|
if: runner.os == 'Linux'
|
||||||
|
run: make lintci-deps
|
||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
uses: golangci/golangci-lint-action@v3
|
run: make lint
|
||||||
with:
|
|
||||||
version: v1.46
|
|
||||||
skip-pkg-cache: true
|
|
||||||
skip-build-cache: true
|
|
||||||
only-new-issues: true
|
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: make test
|
run: make test
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue