diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index de1f7c44c..a10f52810 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -5,8 +5,6 @@ on: branches: [ main ] tags: - 'v*' - paths-ignore: - - 'tools/**' # Only run for pull requests if relevant files were changed pull_request: @@ -15,7 +13,6 @@ on: - Dockerfile - docker-bake.hcl - .github/workflows/build.yaml - - 'tools/**' concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index aeab86dd0..5b18ca032 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -5,12 +5,8 @@ on: branches: [ main ] tags: - 'v*' - paths-ignore: - - 'tools/**' pull_request: branches: [ main ] - paths-ignore: - - 'tools/**' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -285,6 +281,29 @@ jobs: run: | cargo test --workspace + syn2mas-lint: + name: Check syn2mas style + runs-on: ubuntu-latest + + permissions: + contents: read + + steps: + - name: Checkout the code + uses: actions/checkout@v4.1.0 + + - name: Install Node + uses: actions/setup-node@v3.8.1 + with: + node-version-file: ./tools/syn2mas/.nvmrc + + - name: Install Node dependencies + working-directory: ./tools/syn2mas + run: npm ci + + - name: Lint + working-directory: ./tools/syn2mas + run: npm run lint tests-done: name: Tests done @@ -298,6 +317,7 @@ jobs: - clippy - check-schema - test + - syn2mas-lint runs-on: ubuntu-latest steps: diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 19fce780d..c84f5a835 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -3,12 +3,8 @@ name: Coverage on: push: branches: [ main ] - paths-ignore: - - 'tools/**' pull_request: branches: [ main ] - paths-ignore: - - 'tools/**' concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index b2c187682..5a4ed3baf 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -3,12 +3,8 @@ name: Build and deploy the documentation on: push: branches: [ main ] - paths-ignore: - - 'tools/**' pull_request: branches: [ main ] - paths-ignore: - - 'tools/**' concurrency: group: ${{ github.workflow }}-${{ github.ref }}