mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
Enable CI with github actions
This commit is contained in:
parent
de7ed6af40
commit
20ce5c09fb
1 changed files with 22 additions and 0 deletions
22
.github/workflows/l2geth_ci.yml
vendored
Normal file
22
.github/workflows/l2geth_ci.yml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
on: [pull_request]
|
||||||
|
name: Continuous Integration
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Install Go
|
||||||
|
uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: 1.17.x
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Lint
|
||||||
|
run: |
|
||||||
|
rm -rf $HOME/.cache/golangci-lint
|
||||||
|
make lint
|
||||||
|
- name: Test
|
||||||
|
run: |
|
||||||
|
go get ./...
|
||||||
|
make test
|
||||||
|
- name: Upload coverage report
|
||||||
|
run: bash <(curl -s https://codecov.io/bash)
|
||||||
Loading…
Reference in a new issue