Run syn2mas CI as part of main workflows
This commit is contained in:
committed by
Quentin Gliech
parent
0617969927
commit
74d0910eed
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
@@ -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 }}
|
||||
|
||||
28
.github/workflows/ci.yaml
vendored
28
.github/workflows/ci.yaml
vendored
@@ -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:
|
||||
|
||||
4
.github/workflows/coverage.yaml
vendored
4
.github/workflows/coverage.yaml
vendored
@@ -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 }}
|
||||
|
||||
4
.github/workflows/docs.yaml
vendored
4
.github/workflows/docs.yaml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user