aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yaml15
1 files changed, 14 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index ad1c14507..dbfa85b20 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -16,9 +16,22 @@ jobs:
16 CARGO_NET_RETRY: 10 16 CARGO_NET_RETRY: 10
17 17
18 steps: 18 steps:
19 - name: Install Rust toolchain
20 uses: actions-rs/toolchain@v1
21 with:
22 toolchain: stable
23 profile: minimal
24 override: true
25
19 - name: Checkout repository 26 - name: Checkout repository
20 uses: actions/checkout@v2 27 uses: actions/checkout@v2
21 28
29 - name: Cache cargo
30 uses: actions/cache@v1
31 with:
32 path: ~/.cargo
33 key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
34
22 - run: cargo install cargo-audit 35 - run: cargo install cargo-audit
23 - run: cargo audit 36 - run: cargo audit
24 37
@@ -108,7 +121,7 @@ jobs:
108 - run: npm ci 121 - run: npm ci
109 working-directory: ./editors/code 122 working-directory: ./editors/code
110 123
111 - run: npm audit || sleep 10 && npm audit || sleep 30 && npm audit 124 - run: npm audit || { sleep 10 && npm audit; } || { sleep 30 && npm audit; }
112 working-directory: ./editors/code 125 working-directory: ./editors/code
113 126
114 - run: npm run lint 127 - run: npm run lint