mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 15:11:09 +02: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:
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
@@ -528,7 +528,23 @@ jobs:
|
|||||||
|
|
||||||
- name: release notes check
|
- name: release notes check
|
||||||
run: scripts/check-release-notes.sh
|
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.
|
# Notify about the completion of all coverage collecting jobs.
|
||||||
finish:
|
finish:
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
|
5
Makefile
5
Makefile
@@ -364,6 +364,11 @@ help: Makefile
|
|||||||
@$(call print, "Listing commands:")
|
@$(call print, "Listing commands:")
|
||||||
@sed -n 's/^#?//p' $< | column -t -s ':' | sort | sed -e 's/^/ /'
|
@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: Generate sql models and queries in Go
|
||||||
sqlc:
|
sqlc:
|
||||||
@$(call print, "Generating sql models and queries in Go")
|
@$(call print, "Generating sql models and queries in Go")
|
||||||
|
Reference in New Issue
Block a user