mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
build(github): update github action yaml (#347)
* build(github): update github action yaml * fix
This commit is contained in:
parent
0c182f13bd
commit
9f981c5713
2 changed files with 10 additions and 1 deletions
2
.github/workflows/docker.yaml
vendored
2
.github/workflows/docker.yaml
vendored
|
|
@ -3,7 +3,7 @@ name: Docker
|
|||
on:
|
||||
push:
|
||||
tags:
|
||||
- scroll-v**
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
|
|
|
|||
9
.github/workflows/l2geth_ci.yml
vendored
9
.github/workflows/l2geth_ci.yml
vendored
|
|
@ -6,9 +6,15 @@ on:
|
|||
- develop
|
||||
- alpha
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
- ready_for_review
|
||||
name: CI
|
||||
jobs:
|
||||
build:
|
||||
if: github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Go
|
||||
|
|
@ -21,6 +27,7 @@ jobs:
|
|||
run: |
|
||||
make geth
|
||||
check:
|
||||
if: github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Go
|
||||
|
|
@ -34,6 +41,7 @@ jobs:
|
|||
rm -rf $HOME/.cache/golangci-lint
|
||||
make lint
|
||||
goimports-lint:
|
||||
if: github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Go
|
||||
|
|
@ -53,6 +61,7 @@ jobs:
|
|||
exit 1
|
||||
fi
|
||||
test:
|
||||
if: github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Go
|
||||
|
|
|
|||
Loading…
Reference in a new issue