diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yaml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8ab47106d..974d18584 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml | |||
@@ -8,6 +8,16 @@ on: | |||
8 | - trying | 8 | - trying |
9 | 9 | ||
10 | jobs: | 10 | jobs: |
11 | rust-audit: | ||
12 | name: Audit Rust vulnerabilities | ||
13 | runs-on: ubuntu-latest | ||
14 | steps: | ||
15 | - name: Checkout repository | ||
16 | uses: actions/checkout@v1 | ||
17 | |||
18 | - run: cargo install cargo-audit | ||
19 | - run: cargo audit | ||
20 | |||
11 | rust: | 21 | rust: |
12 | name: Rust | 22 | name: Rust |
13 | runs-on: ${{ matrix.os }} | 23 | runs-on: ${{ matrix.os }} |
@@ -79,7 +89,7 @@ jobs: | |||
79 | if: matrix.os == 'windows-latest' | 89 | if: matrix.os == 'windows-latest' |
80 | run: Remove-Item ./target/debug/xtask.exe | 90 | run: Remove-Item ./target/debug/xtask.exe |
81 | 91 | ||
82 | type-script: | 92 | typescript: |
83 | name: TypeScript | 93 | name: TypeScript |
84 | runs-on: ubuntu-latest | 94 | runs-on: ubuntu-latest |
85 | env: | 95 | env: |
@@ -96,7 +106,12 @@ jobs: | |||
96 | 106 | ||
97 | - run: npm ci | 107 | - run: npm ci |
98 | working-directory: ./editors/code | 108 | working-directory: ./editors/code |
109 | |||
110 | - run: npm audit | ||
111 | working-directory: ./editors/code | ||
112 | |||
99 | - run: npm run fmt | 113 | - run: npm run fmt |
100 | working-directory: ./editors/code | 114 | working-directory: ./editors/code |
115 | |||
101 | - run: npm run package --scripts-prepend-node-path | 116 | - run: npm run package --scripts-prepend-node-path |
102 | working-directory: ./editors/code | 117 | working-directory: ./editors/code |