diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/ISSUE_TEMPLATE/bug_report.md | 5 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/critical_nightly_regression.md | 17 | ||||
-rw-r--r-- | .github/workflows/ci.yaml | 2 | ||||
-rw-r--r-- | .github/workflows/release.yaml | 9 |
4 files changed, 23 insertions, 10 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index b5160eaa3..060a05d41 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md | |||
@@ -14,8 +14,9 @@ Forum for questions: https://users.rust-lang.org/c/ide/14 | |||
14 | Before submitting, please make sure that you're not running into one of these known issues: | 14 | Before submitting, please make sure that you're not running into one of these known issues: |
15 | 15 | ||
16 | 1. on-the-fly diagnostics are mostly unimplemented (`cargo check` diagnostics will be shown when saving a file) | 16 | 1. on-the-fly diagnostics are mostly unimplemented (`cargo check` diagnostics will be shown when saving a file) |
17 | 2. some settings are required for procedural macro and build script support (`rust-analyzer.cargo.loadOutDirsFromCheck`, `rust-analyzer.procMacro.enable`): #6448 | 17 | 2. some platform-specific imports are not resolved: #6038 |
18 | 3. some platform-specific imports are not resolved: #6038 | 18 | 3. attribute proc macros are not supported: #6029 |
19 | 4. the version string is misleading (includes the previous week): #8571 | ||
19 | 20 | ||
20 | Otherwise please try to provide information which will help us to fix the issue faster. Minimal reproducible examples with few dependencies are especially lovely <3. | 21 | Otherwise please try to provide information which will help us to fix the issue faster. Minimal reproducible examples with few dependencies are especially lovely <3. |
21 | --> | 22 | --> |
diff --git a/.github/ISSUE_TEMPLATE/critical_nightly_regression.md b/.github/ISSUE_TEMPLATE/critical_nightly_regression.md new file mode 100644 index 000000000..a0b1627d7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/critical_nightly_regression.md | |||
@@ -0,0 +1,17 @@ | |||
1 | --- | ||
2 | name: Critical Nightly Regression | ||
3 | about: You are using nightly rust-analyzer and the latest version is unusable. | ||
4 | title: '' | ||
5 | labels: '' | ||
6 | assignees: 'matklad' | ||
7 | |||
8 | --- | ||
9 | |||
10 | <!-- | ||
11 | Troubleshooting guide: https://rust-analyzer.github.io/manual.html#troubleshooting | ||
12 | |||
13 | Please try to provide information which will help us to fix the issue faster. Minimal reproducible examples with few dependencies are especially lovely <3. | ||
14 | --> | ||
15 | |||
16 | This is a serious regression in nightly and it's important to fix it before the next release. | ||
17 | @matklad, please take a look. | ||
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1145fcfab..63518e67f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml | |||
@@ -57,7 +57,7 @@ jobs: | |||
57 | run: cargo test --no-run --locked | 57 | run: cargo test --no-run --locked |
58 | 58 | ||
59 | - name: Test | 59 | - name: Test |
60 | run: cargo test | 60 | run: cargo test -- --nocapture |
61 | 61 | ||
62 | # Weird targets to catch non-portable code | 62 | # Weird targets to catch non-portable code |
63 | rust-cross: | 63 | rust-cross: |
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 307096ef3..d5c93f69b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml | |||
@@ -109,12 +109,7 @@ jobs: | |||
109 | node-version: 12.x | 109 | node-version: 12.x |
110 | 110 | ||
111 | - name: Dist | 111 | - name: Dist |
112 | if: github.ref == 'refs/heads/release' | 112 | run: cargo xtask dist --client-patch-version $GITHUB_RUN_NUMBER |
113 | run: cargo xtask dist --client 0.2.$GITHUB_RUN_NUMBER | ||
114 | |||
115 | - name: Dist | ||
116 | if: github.ref != 'refs/heads/release' | ||
117 | run: cargo xtask dist --nightly --client 0.3.$GITHUB_RUN_NUMBER-nightly | ||
118 | 113 | ||
119 | - name: Run analysis-stats on rust-analyzer | 114 | - name: Run analysis-stats on rust-analyzer |
120 | run: target/${{ env.RA_TARGET }}/release/rust-analyzer analysis-stats . | 115 | run: target/${{ env.RA_TARGET }}/release/rust-analyzer analysis-stats . |
@@ -266,7 +261,7 @@ jobs: | |||
266 | with: | 261 | with: |
267 | node-version: 12.x | 262 | node-version: 12.x |
268 | 263 | ||
269 | - run: echo "TAG=$(date --iso --utc)" >> $GITHUB_ENV | 264 | - run: echo "TAG=$(date --iso -u)" >> $GITHUB_ENV |
270 | if: github.ref == 'refs/heads/release' | 265 | if: github.ref == 'refs/heads/release' |
271 | - run: echo "TAG=nightly" >> $GITHUB_ENV | 266 | - run: echo "TAG=nightly" >> $GITHUB_ENV |
272 | if: github.ref != 'refs/heads/release' | 267 | if: github.ref != 'refs/heads/release' |