Add copyright year linter for fluffy and verified proxy (#2018)

This commit is contained in:
Kim De Mey 2024-02-10 14:49:34 +01:00 committed by GitHub
parent 3486e08492
commit cc4d13835f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 28 additions and 0 deletions

View File

@ -305,3 +305,17 @@ jobs:
- name: Run fluffy testnet
run: |
./fluffy/scripts/launch_local_testnet.sh --run-tests
lint:
name: "Lint Fluffy"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2 # In PR, has extra merge commit: ^1 = PR, ^2 = base
- name: Check copyright year
if: ${{ !cancelled() }} && github.event_name == 'pull_request'
run: |
bash scripts/check_copyright_year.sh

View File

@ -223,3 +223,17 @@ jobs:
build/nimbus_verified_proxy --help
# "-static" option will not work for osx unless static system libraries are provided
make ${DEFAULT_MAKE_FLAGS} nimbus-verified-proxy-test
lint:
name: "Lint verified proxy"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2 # In PR, has extra merge commit: ^1 = PR, ^2 = base
- name: Check copyright year
if: ${{ !cancelled() }} && github.event_name == 'pull_request'
run: |
bash scripts/check_copyright_year.sh