mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 01:36:24 +01:00
make+gh: add make helper and GH action
Add a makefile helper to run the neww backwards compatability test and then add a new GH actions job to call it.
This commit is contained in:
parent
f0d4ea10a2
commit
343bdff26b
2 changed files with 22 additions and 1 deletions
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
|
@ -528,7 +528,23 @@ jobs:
|
|||
|
||||
- name: release notes check
|
||||
run: scripts/check-release-notes.sh
|
||||
|
||||
|
||||
########################
|
||||
# Backwards Compatibility Test
|
||||
########################
|
||||
backwards-compatability-test:
|
||||
name: backwards compatability test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: git checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: 🐳 Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: 🛡️ backwards compatibility test
|
||||
run: make backwards-compat-test
|
||||
|
||||
# Notify about the completion of all coverage collecting jobs.
|
||||
finish:
|
||||
if: ${{ always() }}
|
||||
|
|
5
Makefile
5
Makefile
|
@ -364,6 +364,11 @@ help: Makefile
|
|||
@$(call print, "Listing commands:")
|
||||
@sed -n 's/^#?//p' $< | column -t -s ':' | sort | sed -e 's/^/ /'
|
||||
|
||||
#? backwards-compat-test: Run basic backwards compatibility test
|
||||
backwards-compat-test:
|
||||
@$(call print, "Running backwards compatability test")
|
||||
./scripts/bw-compatibility-test/test.sh
|
||||
|
||||
#? sqlc: Generate sql models and queries in Go
|
||||
sqlc:
|
||||
@$(call print, "Generating sql models and queries in Go")
|
||||
|
|
Loading…
Add table
Reference in a new issue