mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-21 14:04:06 +01:00
github: move fmt-check
into lint
This commit is contained in:
parent
26110beb53
commit
3ca7e30199
1 changed files with 3 additions and 17 deletions
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
|
@ -32,23 +32,6 @@ env:
|
||||||
GO_VERSION: 1.19.2
|
GO_VERSION: 1.19.2
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
########################
|
|
||||||
# format code
|
|
||||||
########################
|
|
||||||
fmt-check:
|
|
||||||
name: check code format
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: git checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- id: setup
|
|
||||||
name: Setup go env
|
|
||||||
uses: ./.github/actions/setup-go
|
|
||||||
|
|
||||||
- name: fmt
|
|
||||||
run: make fmt-check
|
|
||||||
|
|
||||||
########################
|
########################
|
||||||
# RPC and mobile compilation check
|
# RPC and mobile compilation check
|
||||||
########################
|
########################
|
||||||
|
@ -119,6 +102,9 @@ jobs:
|
||||||
name: Setup go env
|
name: Setup go env
|
||||||
uses: ./.github/actions/setup-go
|
uses: ./.github/actions/setup-go
|
||||||
|
|
||||||
|
- name: check code format
|
||||||
|
run: make fmt-check
|
||||||
|
|
||||||
- name: lint
|
- name: lint
|
||||||
run: GOGC=50 make lint
|
run: GOGC=50 make lint
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue