From d18748f078b34a827b9c5ddcd3d2211f0a3c633a Mon Sep 17 00:00:00 2001 From: Peter Brightwell Date: Thu, 1 Jun 2023 14:01:41 +0100 Subject: [PATCH] Use docker nmos-lint --- .github/workflows/lint.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fa402e3..8ce1b10 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,16 +1,11 @@ name: Lint on: [push, pull_request, workflow_dispatch] jobs: - build: + lint: runs-on: ubuntu-latest + name: Lint steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Install Node.js - uses: actions/setup-node@v1 - with: - node-version: '12.x' - - name: Setup - run: make -C .lint distclean build-tools - - name: Lint - run: make -C .lint lint + - name: Use NMOS Lint + uses: docker://amwa/nmos-lint:latest + env: + GITHUB_BRANCH: ${{ github.ref_name }}