diff --git a/.github/workflows/fluffy.yml b/.github/workflows/fluffy.yml index 375bdb93a..14eb4bb08 100644 --- a/.github/workflows/fluffy.yml +++ b/.github/workflows/fluffy.yml @@ -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 diff --git a/.github/workflows/nimbus_verified_proxy.yml b/.github/workflows/nimbus_verified_proxy.yml index 5b516ab19..abd8b7f4f 100644 --- a/.github/workflows/nimbus_verified_proxy.yml +++ b/.github/workflows/nimbus_verified_proxy.yml @@ -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