diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yaml | 6 | ||||
-rw-r--r-- | .github/workflows/release.yaml | 9 | ||||
-rw-r--r-- | .github/workflows/rustdoc.yaml | 2 |
3 files changed, 9 insertions, 8 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 633015956..ee74d7486 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml | |||
@@ -13,7 +13,7 @@ jobs: | |||
13 | runs-on: ubuntu-latest | 13 | runs-on: ubuntu-latest |
14 | steps: | 14 | steps: |
15 | - name: Checkout repository | 15 | - name: Checkout repository |
16 | uses: actions/checkout@v1 | 16 | uses: actions/checkout@v2 |
17 | 17 | ||
18 | - run: cargo install cargo-audit | 18 | - run: cargo install cargo-audit |
19 | - run: cargo audit | 19 | - run: cargo audit |
@@ -37,7 +37,7 @@ jobs: | |||
37 | 37 | ||
38 | steps: | 38 | steps: |
39 | - name: Checkout repository | 39 | - name: Checkout repository |
40 | uses: actions/checkout@v1 | 40 | uses: actions/checkout@v2 |
41 | 41 | ||
42 | # We need to disable the existing toolchain to avoid updating rust-docs | 42 | # We need to disable the existing toolchain to avoid updating rust-docs |
43 | # which takes a long time. The fastest way to do this is to rename the | 43 | # which takes a long time. The fastest way to do this is to rename the |
@@ -94,7 +94,7 @@ jobs: | |||
94 | CC: gcc-4.9 | 94 | CC: gcc-4.9 |
95 | steps: | 95 | steps: |
96 | - name: Checkout repository | 96 | - name: Checkout repository |
97 | uses: actions/checkout@v1 | 97 | uses: actions/checkout@v2 |
98 | 98 | ||
99 | - name: Install Nodejs | 99 | - name: Install Nodejs |
100 | uses: actions/setup-node@v1 | 100 | uses: actions/setup-node@v1 |
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d58be0fd7..0434b6128 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml | |||
@@ -23,7 +23,7 @@ jobs: | |||
23 | 23 | ||
24 | steps: | 24 | steps: |
25 | - name: Checkout repository | 25 | - name: Checkout repository |
26 | uses: actions/checkout@v1 | 26 | uses: actions/checkout@v2 |
27 | 27 | ||
28 | # We need to disable the existing toolchain to avoid updating rust-docs | 28 | # We need to disable the existing toolchain to avoid updating rust-docs |
29 | # which takes a long time. The fastest way to do this is to rename the | 29 | # which takes a long time. The fastest way to do this is to rename the |
@@ -42,6 +42,7 @@ jobs: | |||
42 | override: true | 42 | override: true |
43 | 43 | ||
44 | - name: Install Nodejs | 44 | - name: Install Nodejs |
45 | if: matrix.os == 'ubuntu-latest' | ||
45 | uses: actions/setup-node@v1 | 46 | uses: actions/setup-node@v1 |
46 | with: | 47 | with: |
47 | node-version: 12.x | 48 | node-version: 12.x |
@@ -70,14 +71,14 @@ jobs: | |||
70 | with: | 71 | with: |
71 | node-version: 12.x | 72 | node-version: 12.x |
72 | 73 | ||
73 | - run: echo "::set-env name=TAG::$(date --iso)" | 74 | - run: echo "::set-env name=TAG::$(date --iso --utc)" |
74 | if: github.event_name == 'push' | 75 | if: github.event_name == 'push' |
75 | - run: echo "::set-env name=TAG::nightly" | 76 | - run: echo "::set-env name=TAG::nightly" |
76 | if: github.event_name == 'schedule' | 77 | if: github.event_name == 'schedule' |
77 | - run: 'echo "TAG: $TAG"' | 78 | - run: 'echo "TAG: $TAG"' |
78 | 79 | ||
79 | - name: Checkout repository | 80 | - name: Checkout repository |
80 | uses: actions/checkout@v1 | 81 | uses: actions/checkout@v2 |
81 | 82 | ||
82 | - uses: actions/download-artifact@v1 | 83 | - uses: actions/download-artifact@v1 |
83 | with: | 84 | with: |
@@ -107,4 +108,4 @@ jobs: | |||
107 | if: github.event_name == 'push' | 108 | if: github.event_name == 'push' |
108 | working-directory: ./editors/code | 109 | working-directory: ./editors/code |
109 | # token from https://dev.azure.com/rust-analyzer/ | 110 | # token from https://dev.azure.com/rust-analyzer/ |
110 | run: npx vsce publish 0.1.$(date +%Y%m%d) --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer.vsix | 111 | run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer.vsix |
diff --git a/.github/workflows/rustdoc.yaml b/.github/workflows/rustdoc.yaml index e75e92695..c84ce5d48 100644 --- a/.github/workflows/rustdoc.yaml +++ b/.github/workflows/rustdoc.yaml | |||
@@ -13,7 +13,7 @@ jobs: | |||
13 | 13 | ||
14 | steps: | 14 | steps: |
15 | - name: Checkout repository | 15 | - name: Checkout repository |
16 | uses: actions/checkout@v1 | 16 | uses: actions/checkout@v2 |
17 | 17 | ||
18 | - name: Install Rust toolchain | 18 | - name: Install Rust toolchain |
19 | uses: actions-rs/toolchain@v1 | 19 | uses: actions-rs/toolchain@v1 |