Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update from upstream #89

Merged
merged 198 commits into from
Jul 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
198 commits
Select commit Hold shift + click to select a range
6f244be
chore: made task file rust-analyzer compliant
kristof-mattei Mar 22, 2022
9e2e35e
Merge branch 'main' into updated-task-file
kristof-mattei Mar 22, 2022
484780e
Merge pull request #236 from kristof-mattei/updated-task-file
kristof-mattei Mar 22, 2022
e86ae62
chore(deps-dev): bump serialize-error from 9.1.0 to 9.1.1
dependabot[bot] Mar 22, 2022
9e2212e
Merge pull request #238 from kristof-mattei/dependabot/npm_and_yarn/s…
github-actions[bot] Mar 22, 2022
48ef861
chore(deps): bump actions/cache from 2.1.7 to 3
dependabot[bot] Mar 22, 2022
1eb4757
Merge pull request #237 from kristof-mattei/dependabot/github_actions…
kristof-mattei Mar 22, 2022
b43e450
chore(deps): bump alpine from 3.15.1 to 3.15.2
dependabot[bot] Mar 24, 2022
cf09b1b
Merge pull request #239 from kristof-mattei/dependabot/docker/alpine-…
github-actions[bot] Mar 24, 2022
2e08f59
chore(deps-dev): bump prettier from 2.6.0 to 2.6.1
dependabot[bot] Mar 28, 2022
1e26095
Merge pull request #240 from kristof-mattei/dependabot/npm_and_yarn/p…
github-actions[bot] Mar 28, 2022
9051e95
chore(deps): bump alpine from 3.15.2 to 3.15.3
dependabot[bot] Mar 29, 2022
a445cb3
Merge pull request #241 from kristof-mattei/dependabot/docker/alpine-…
github-actions[bot] Mar 29, 2022
329127b
chore(deps): bump rust from `fea2328` to `cab550a`
dependabot[bot] Mar 30, 2022
1e4fda3
Merge pull request #242 from kristof-mattei/dependabot/docker/rust-ca…
github-actions[bot] Mar 30, 2022
84d4ff8
chore(deps-dev): bump @semantic-release/github from 8.0.2 to 8.0.4
dependabot[bot] Mar 30, 2022
709dfa4
Merge pull request #243 from kristof-mattei/dependabot/npm_and_yarn/s…
github-actions[bot] Mar 30, 2022
c71044d
chore(deps): bump actions/cache from 3.0.0 to 3.0.1
dependabot[bot] Mar 30, 2022
2b6e329
Merge pull request #244 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Mar 30, 2022
5f72967
chore(deps): bump rust from `cab550a` to `db2731e`
dependabot[bot] Mar 31, 2022
3270254
Merge pull request #245 from kristof-mattei/dependabot/docker/rust-db…
github-actions[bot] Mar 31, 2022
8b38a53
chore(deps): bump rust from `db2731e` to `7c0ea3e`
dependabot[bot] Apr 1, 2022
0f51542
Merge pull request #246 from kristof-mattei/dependabot/docker/rust-7c…
github-actions[bot] Apr 1, 2022
43276be
chore(deps): bump actions/setup-node from 3.0.0 to 3.1.0
dependabot[bot] Apr 4, 2022
89fa0c6
Merge pull request #247 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Apr 4, 2022
7d11a39
chore(deps-dev): bump prettier from 2.6.1 to 2.6.2
dependabot[bot] Apr 4, 2022
88c0ebf
Merge pull request #248 from kristof-mattei/dependabot/npm_and_yarn/p…
github-actions[bot] Apr 4, 2022
0c3d789
chore(deps): bump alpine from 3.15.3 to 3.15.4
dependabot[bot] Apr 5, 2022
2762e0b
Merge pull request #249 from kristof-mattei/dependabot/docker/alpine-…
github-actions[bot] Apr 5, 2022
0acdde6
chore(deps): bump codecov/codecov-action from 2.1.0 to 3
dependabot[bot] Apr 6, 2022
3206a0b
Merge pull request #250 from kristof-mattei/dependabot/github_actions…
kristof-mattei Apr 7, 2022
0e9dfc1
chore(deps): bump minimist from 1.2.5 to 1.2.6
dependabot[bot] Apr 7, 2022
57f09dd
Merge pull request #251 from kristof-mattei/dependabot/npm_and_yarn/m…
github-actions[bot] Apr 7, 2022
4cfbcfe
chore(deps): bump docker/metadata-action from 3.6.2 to 3.7.0
dependabot[bot] Apr 7, 2022
6803368
Merge pull request #252 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Apr 7, 2022
e3818a1
chore(deps-dev): bump semver from 7.3.5 to 7.3.6
dependabot[bot] Apr 7, 2022
a992c1d
Merge pull request #253 from kristof-mattei/dependabot/npm_and_yarn/s…
github-actions[bot] Apr 7, 2022
0180532
feat: rust 1.60.0
kristof-mattei Apr 7, 2022
cd2a8e6
fix: instrument coverage is stable!
kristof-mattei Apr 7, 2022
44a59c2
chore(deps): bump rust from 1.59.0 to 1.60.0
dependabot[bot] Apr 8, 2022
fed6a29
Merge pull request #255 from kristof-mattei/dependabot/docker/rust-1.…
github-actions[bot] Apr 8, 2022
fbd1f94
Merge branch 'main' into instrument-coverage-stable
kristof-mattei Apr 8, 2022
7541837
Merge pull request #254 from kristof-mattei/instrument-coverage-stable
kristof-mattei Apr 8, 2022
14738e6
chore(deps): bump EnricoMi/publish-unit-test-result-action
dependabot[bot] Apr 12, 2022
c02cf92
Merge pull request #256 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Apr 12, 2022
9f96b86
chore(deps): bump actions/cache from 3.0.1 to 3.0.2
dependabot[bot] Apr 12, 2022
3052250
Merge pull request #258 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Apr 12, 2022
51f7827
chore(deps): bump actions/setup-node from 3.1.0 to 3.1.1
dependabot[bot] Apr 12, 2022
eaef636
Merge pull request #257 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Apr 12, 2022
2a9b11e
chore(deps-dev): bump semver from 7.3.6 to 7.3.7
dependabot[bot] Apr 13, 2022
6579d03
Merge pull request #259 from kristof-mattei/dependabot/npm_and_yarn/s…
github-actions[bot] Apr 13, 2022
abceeeb
chore: spacing and remove verbose
kristof-mattei Apr 14, 2022
2770a25
Merge pull request #260 from kristof-mattei/spaces-remove-verbose
kristof-mattei Apr 14, 2022
9fff341
chore(deps): bump actions/checkout from 3.0.0 to 3.0.1
dependabot[bot] Apr 15, 2022
ac85728
Merge pull request #262 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Apr 15, 2022
ea62f18
chore(deps): bump dependabot/fetch-metadata from 1.3.0 to 1.3.1
dependabot[bot] Apr 21, 2022
1bbbc93
Merge pull request #265 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Apr 21, 2022
aeb5799
chore(deps): bump rust from `25c7388` to `ff41a88`
dependabot[bot] Apr 21, 2022
8405c7d
Merge pull request #264 from kristof-mattei/dependabot/docker/rust-ff…
github-actions[bot] Apr 21, 2022
00b0cc7
chore(deps): bump actions/checkout from 3.0.1 to 3.0.2
dependabot[bot] Apr 22, 2022
7d628ad
Merge pull request #267 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Apr 22, 2022
1cca223
chore(deps): bump rust from `ff41a88` to `b3237b7`
dependabot[bot] Apr 22, 2022
1909fd8
Merge pull request #266 from kristof-mattei/dependabot/docker/rust-b3…
github-actions[bot] Apr 22, 2022
97d713b
chore(deps): bump codecov/codecov-action from 3.0.0 to 3.1.0
dependabot[bot] Apr 22, 2022
383144a
Merge pull request #268 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Apr 22, 2022
ee8b25c
chore(deps): bump EnricoMi/publish-unit-test-result-action
dependabot[bot] Apr 25, 2022
88f27fc
Merge pull request #269 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Apr 25, 2022
d5fe7b5
chore(deps-dev): bump serialize-error from 9.1.1 to 10.0.0
dependabot[bot] Apr 25, 2022
fbfd22e
Merge pull request #263 from kristof-mattei/dependabot/npm_and_yarn/s…
kristof-mattei Apr 25, 2022
0918c90
chore: add release test script
kristof-mattei Apr 28, 2022
530b29e
chore(deps): bump docker/metadata-action from 3.7.0 to 3.8.0
dependabot[bot] Apr 29, 2022
32cec67
Merge pull request #271 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Apr 29, 2022
26b00aa
chore(deps): bump docker/setup-buildx-action from 1.6.0 to 1.7.0
dependabot[bot] Apr 29, 2022
b063cfe
Merge pull request #270 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Apr 29, 2022
45dbd4d
chore(deps): bump EnricoMi/publish-unit-test-result-action
dependabot[bot] May 10, 2022
acc208f
Merge pull request #276 from kristof-mattei/dependabot/github_actions…
github-actions[bot] May 10, 2022
bda98ab
chore(deps): bump docker/setup-buildx-action from 1.7.0 to 2
dependabot[bot] May 10, 2022
a9bb851
Merge pull request #273 from kristof-mattei/dependabot/github_actions…
kristof-mattei May 11, 2022
34faae6
chore(deps): bump docker/login-action from 1.14.1 to 2
dependabot[bot] May 11, 2022
9735d0e
Merge pull request #275 from kristof-mattei/dependabot/github_actions…
kristof-mattei May 11, 2022
ff5a88c
chore(deps): bump docker/metadata-action from 3.8.0 to 4.0.1
dependabot[bot] May 11, 2022
11b9f19
Merge pull request #274 from kristof-mattei/dependabot/github_actions…
kristof-mattei May 12, 2022
7eaee8e
chore(deps): bump rust from `b3237b7` to `0293d3d`
dependabot[bot] May 12, 2022
50b45ef
Merge pull request #277 from kristof-mattei/dependabot/docker/rust-02…
github-actions[bot] May 12, 2022
3d81592
chore(deps): bump docker/build-push-action from 2.10.0 to 3
dependabot[bot] May 12, 2022
2fce005
Merge pull request #272 from kristof-mattei/dependabot/github_actions…
kristof-mattei May 12, 2022
5d64e23
chore(deps): bump rust from `0293d3d` to `48d3b5b`
dependabot[bot] May 13, 2022
1aa5dcc
Merge pull request #278 from kristof-mattei/dependabot/docker/rust-48…
github-actions[bot] May 13, 2022
512bbba
chore(deps): bump actions/github-script from 6.0.0 to 6.1.0
dependabot[bot] May 13, 2022
940a81a
Merge pull request #279 from kristof-mattei/dependabot/github_actions…
github-actions[bot] May 13, 2022
eb42e6a
chore(deps-dev): bump @actions/tool-cache from 1.7.2 to 2.0.0
dependabot[bot] May 13, 2022
68df1fe
Merge pull request #280 from kristof-mattei/dependabot/npm_and_yarn/a…
kristof-mattei May 13, 2022
c263261
chore(deps): bump EnricoMi/publish-unit-test-result-action
dependabot[bot] May 16, 2022
950aa57
Merge pull request #281 from kristof-mattei/dependabot/github_actions…
github-actions[bot] May 16, 2022
d15ca37
chore(deps-dev): bump @actions/tool-cache from 2.0.0 to 2.0.1
dependabot[bot] May 16, 2022
da9e7fa
Merge pull request #283 from kristof-mattei/dependabot/npm_and_yarn/a…
github-actions[bot] May 16, 2022
681bcb7
chore(deps-dev): bump serialize-error from 10.0.0 to 11.0.0
dependabot[bot] May 16, 2022
b7ead74
Merge pull request #282 from kristof-mattei/dependabot/npm_and_yarn/s…
kristof-mattei May 16, 2022
1ad066f
chore(deps): bump actions/setup-node from 3.1.1 to 3.2.0
dependabot[bot] May 17, 2022
fcdb472
Merge pull request #284 from kristof-mattei/dependabot/github_actions…
github-actions[bot] May 17, 2022
0345868
chore(deps): bump EnricoMi/publish-unit-test-result-action
dependabot[bot] May 19, 2022
a229cea
Merge pull request #285 from kristof-mattei/dependabot/github_actions…
github-actions[bot] May 19, 2022
c130478
feat: Rust 1.61.0
kristof-mattei May 19, 2022
3f1af1a
chore(deps): bump rust from 1.60.0 to 1.61.0
dependabot[bot] May 19, 2022
a35b94e
Merge pull request #287 from kristof-mattei/dependabot/docker/rust-1.…
github-actions[bot] May 20, 2022
be04eea
Merge branch 'main' into rust-1-61-0
kristof-mattei May 20, 2022
25f5492
Merge pull request #286 from kristof-mattei/rust-1-61-0
kristof-mattei May 20, 2022
bb9f09e
chore(deps): bump actions/upload-artifact from 3.0.0 to 3.1.0
dependabot[bot] May 23, 2022
963b22b
Merge pull request #288 from kristof-mattei/dependabot/github_actions…
github-actions[bot] May 23, 2022
2c3cea4
chore(deps): bump alpine from 3.15.4 to 3.16.0
dependabot[bot] May 24, 2022
6c047f6
Merge pull request #289 from kristof-mattei/dependabot/docker/alpine-…
github-actions[bot] May 24, 2022
502c029
chore(deps): bump rust from `b0139fa` to `a2dff3d`
dependabot[bot] May 30, 2022
a653d36
Merge pull request #290 from kristof-mattei/dependabot/docker/rust-a2…
github-actions[bot] May 30, 2022
f29a2ba
chore(deps-dev): bump conventional-changelog-conventionalcommits
dependabot[bot] May 30, 2022
2f2850a
Merge pull request #291 from kristof-mattei/dependabot/npm_and_yarn/c…
kristof-mattei May 31, 2022
e9790bd
chore(deps): bump actions/cache from 3.0.2 to 3.0.3
dependabot[bot] Jun 1, 2022
e33bba9
Merge pull request #292 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Jun 1, 2022
9932b72
chore: docker images names should always be lowercase
kristof-mattei Jun 1, 2022
8f4396d
chore: add title (name) to step
kristof-mattei Jun 1, 2022
00ca5d7
chore: add shell name and consolidated format
kristof-mattei Jun 1, 2022
7ebc90c
chore: consolidated extensions
kristof-mattei Jun 1, 2022
42db7e4
Merge branch 'main' of https://github.com/kristof-mattei/rust-end-to-…
kristof-mattei Jun 1, 2022
a4120e6
Merge pull request #293 from kristof-mattei/lower-case-image-name
kristof-mattei Jun 1, 2022
48a7dea
Merge branch 'main' into consolidate-format
kristof-mattei Jun 1, 2022
0e82cfd
Merge branch 'main' into add-name-to-step
kristof-mattei Jun 1, 2022
f15092c
Merge pull request #295 from kristof-mattei/consolidate-format
kristof-mattei Jun 1, 2022
8444618
Merge branch 'main' into add-name-to-step
kristof-mattei Jun 1, 2022
00cb546
Merge pull request #294 from kristof-mattei/add-name-to-step
kristof-mattei Jun 1, 2022
6c74ad4
Merge remote-tracking branch 'origin/main' into consolidate-extensions
kristof-mattei Jun 1, 2022
f8362da
Merge pull request #296 from kristof-mattei/consolidate-extensions
kristof-mattei Jun 1, 2022
43a514a
chore(deps): bump npm from 8.3.1 to 8.12.0
dependabot[bot] Jun 2, 2022
7802618
Merge pull request #297 from kristof-mattei/dependabot/npm_and_yarn/n…
github-actions[bot] Jun 2, 2022
c7dc4f5
feat: upgrade semgrep to latest version
kristof-mattei Jun 3, 2022
955af47
chore(deps): bump EnricoMi/publish-unit-test-result-action
dependabot[bot] Jun 3, 2022
09afb19
Merge pull request #299 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Jun 3, 2022
f548e18
Merge branch 'main' into add-semgrep
kristof-mattei Jun 3, 2022
71ec2d9
fix: switch to auto config
kristof-mattei Jun 3, 2022
c405e4a
Merge branch 'add-semgrep' of https://github.com/kristof-mattei/rust-…
kristof-mattei Jun 3, 2022
e90953e
fix: remove fixes
kristof-mattei Jun 3, 2022
1dac372
chore(deps): bump semver-regex from 3.1.3 to 3.1.4
dependabot[bot] Jun 3, 2022
bd98f2e
Merge pull request #300 from kristof-mattei/dependabot/npm_and_yarn/s…
github-actions[bot] Jun 4, 2022
4734616
chore: delete unneeded file
kristof-mattei Jun 6, 2022
c39ff7e
chore: update packages
kristof-mattei Jun 6, 2022
87cbd71
Merge pull request #301 from kristof-mattei/update-packages
kristof-mattei Jun 6, 2022
78f0c08
chore(deps): bump actions/setup-node from 3.2.0 to 3.3.0
dependabot[bot] Jun 7, 2022
d8ce8ce
Merge pull request #302 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Jun 7, 2022
c3944b3
chore(deps): bump actions/cache from 3.0.3 to 3.0.4
dependabot[bot] Jun 8, 2022
c645728
Merge pull request #303 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Jun 8, 2022
4e414de
fix: add user
kristof-mattei Jun 8, 2022
c82af71
fix: set the right user
kristof-mattei Jun 8, 2022
4bfc0a7
Merge remote-tracking branch 'origin/main' into add-semgrep
kristof-mattei Jun 8, 2022
8d67b90
Merge pull request #298 from kristof-mattei/add-semgrep
kristof-mattei Jun 8, 2022
d3c9dcf
fix: set permissions
kristof-mattei Jun 8, 2022
c7fc291
Merge branch 'main' into add-semgrep
kristof-mattei Jun 8, 2022
be12af0
Merge pull request #304 from kristof-mattei/add-semgrep
kristof-mattei Jun 9, 2022
11670e1
chore(deps-dev): bump semantic-release from 19.0.2 to 19.0.3
dependabot[bot] Jun 9, 2022
ffb04af
Merge pull request #305 from kristof-mattei/dependabot/npm_and_yarn/s…
github-actions[bot] Jun 9, 2022
1d77ed5
feat: devcontainer
kristof-mattei Jun 9, 2022
dc8af19
Merge branch 'main' into dev-container
kristof-mattei Jun 9, 2022
1b09a53
Merge pull request #306 from kristof-mattei/dev-container
kristof-mattei Jun 9, 2022
a375386
chore(deps-dev): bump prettier from 2.6.2 to 2.7.0
dependabot[bot] Jun 15, 2022
e1ef433
Merge pull request #307 from kristof-mattei/dependabot/npm_and_yarn/p…
github-actions[bot] Jun 15, 2022
a1f9464
chore(deps-dev): bump prettier from 2.7.0 to 2.7.1
dependabot[bot] Jun 17, 2022
963bf7a
Merge pull request #308 from kristof-mattei/dependabot/npm_and_yarn/p…
github-actions[bot] Jun 17, 2022
0327052
chore(deps): bump EnricoMi/publish-unit-test-result-action
dependabot[bot] Jun 22, 2022
41afd82
Merge pull request #309 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Jun 22, 2022
8f08155
chore(deps): bump rust from `a2dff3d` to `e9a087a`
dependabot[bot] Jun 24, 2022
75bbcb2
Merge pull request #310 from kristof-mattei/dependabot/docker/rust-e9…
github-actions[bot] Jun 24, 2022
beae4af
chore(deps): bump EnricoMi/publish-unit-test-result-action
dependabot[bot] Jun 27, 2022
e4663ec
Merge pull request #311 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Jun 27, 2022
df7e1e4
chore: clean up semgrep file, update package-lock
kristof-mattei Jun 28, 2022
0b62e90
Merge pull request #312 from kristof-mattei/update-semgrep
kristof-mattei Jun 28, 2022
b720d30
chore: install latest semgrep
kristof-mattei Jun 28, 2022
342529b
chore: use token to get more rules
kristof-mattei Jun 28, 2022
4c76eb8
Merge pull request #313 from kristof-mattei/latest-semgrep
kristof-mattei Jun 28, 2022
fdca795
chore: crlf to lf
kristof-mattei Jun 28, 2022
f4a8ff4
Merge branch 'main' into crlf-to-lf
kristof-mattei Jun 28, 2022
b002417
Merge pull request #314 from kristof-mattei/crlf-to-lf
kristof-mattei Jun 28, 2022
793d618
chore(deps): bump github/codeql-action from 2.1.14 to 2.1.15
dependabot[bot] Jun 29, 2022
775a1ed
Merge pull request #315 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Jun 29, 2022
28a0d46
chore(deps): bump rust from 1.61.0 to 1.62.0
dependabot[bot] Jul 1, 2022
e9b4da4
Merge pull request #316 from kristof-mattei/dependabot/docker/rust-1.…
github-actions[bot] Jul 1, 2022
628756b
feat: more rust 1.62
kristof-mattei Jul 1, 2022
f048ac0
chore: and more 1.62
kristof-mattei Jul 1, 2022
59830b2
Merge pull request #318 from kristof-mattei/more-rust-1.62
kristof-mattei Jul 1, 2022
ddf6fc7
chore: try to speed up by using binstall
kristof-mattei Jul 3, 2022
56fb4b2
Merge remote-tracking branch 'origin/main' into try-with-binstall
kristof-mattei Jul 3, 2022
e700aaa
chore: fix the binary names
kristof-mattei Jul 3, 2022
c4daf59
chore: spacing, made lint-commits also use binstall
kristof-mattei Jul 3, 2022
5dc80a3
Merge pull request #319 from kristof-mattei/try-with-binstall
kristof-mattei Jul 3, 2022
c861d40
chore(deps): bump dependabot/fetch-metadata from 1.3.1 to 1.3.3
dependabot[bot] Jul 3, 2022
05d91ca
Merge pull request #320 from kristof-mattei/dependabot/github_actions…
github-actions[bot] Jul 3, 2022
2ac4f9d
chore(deps): bump EnricoMi/publish-unit-test-result-action
dependabot[bot] Jul 5, 2022
73a0ad7
chore: updated file property to junit_files as per https://github.com…
kristof-mattei Jul 7, 2022
f77d869
Merge pull request #321 from kristof-mattei/dependabot/github_actions…
kristof-mattei Jul 7, 2022
7d25928
Merge remote-tracking branch 'upstream/main' into update-from-upstream
kristof-mattei Jul 7, 2022
24196b6
chore: fix botched merge
kristof-mattei Jul 7, 2022
8d51101
Merge remote-tracking branch 'origin/main' into update-from-upstream
kristof-mattei Jul 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.195.0/containers/rust/.devcontainer/base.Dockerfile
# [Choice] Debian OS version (use bullseye on local arm64/Apple Silicon): buster, bullseye
ARG VARIANT="bullseye"
FROM mcr.microsoft.com/vscode/devcontainers/rust:1-${VARIANT}

# [Optional] Uncomment this section to install additional packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>
46 changes: 46 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.195.0/containers/rust
{
"name": "Rust",
"build": {
"dockerfile": "Dockerfile",
"args": {
// Use the VARIANT arg to pick a Debian OS version: buster, bullseye
// Use bullseye when on local on arm64/Apple Silicon.
"VARIANT": "bullseye"
}
},
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
],
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"lldb.executable": "/usr/bin/lldb",
// VS Code don't watch files under ./target
"files.watcherExclude": {
"**/target/**": true
}
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"vadimcn.vscode-lldb",
"mutantdino.resourcemonitor",
"rust-lang.rust-analyzer",
"tamasfe.even-better-toml",
"serayuzgur.crates"
]
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "rustc --version",
// Comment out to run as root instead.
"remoteUser": "vscode"
}
29 changes: 20 additions & 9 deletions .github/workflows/build.yaml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,41 +156,51 @@ jobs:
run: |
rustup component add llvm-tools-preview

- name: Get binstall
shell: bash
run: |
archive="cargo-binstall-x86_64-unknown-linux-musl.tgz"
wget "https://github.com/ryankurte/cargo-binstall/releases/latest/download/${archive}"

tar -xvf "./${archive}"

rm "./${archive}"

mv ./cargo-binstall ~/.cargo/bin/

- name: Install nextest, custom test runner, with native support for junit
shell: bash
run: |
cargo install --locked cargo-nextest;
cargo binstall --no-confirm cargo-nextest;

- name: Install grcov
shell: bash
run: |
cargo install --locked grcov;
cargo binstall --no-confirm grcov --pkg-url "{ repo }/releases/download/v{ version }/{ name }-{ target }.tar.bz2" --pkg-fmt tbz2 --bin-dir "{ bin }";

- name: Build with instrumentation support
shell: bash
env:
RUSTC_BOOTSTRAP: 1
RUSTFLAGS: "-Zinstrument-coverage"
RUSTFLAGS: "-C instrument-coverage"
run: |
cargo build --all-targets --workspace --verbose

- name: Run nextest
shell: bash
id: tests
env:
RUSTC_BOOTSTRAP: 1
RUSTFLAGS: "-Zinstrument-coverage"
RUSTFLAGS: "-C instrument-coverage"
LLVM_PROFILE_FILE: "profiling/profile-%p-%m.profraw"
run: |
cargo nextest run --profile ci --no-fail-fast --all-targets --workspace
continue-on-error: true

- name: Upload test results
uses: EnricoMi/publish-unit-test-result-action@f00bb47e1d89c6d98071d1b69e16a2b63c7fbfc1
uses: EnricoMi/publish-unit-test-result-action@7a453e7e81ac3190db44d6a0cf3ab2811b12cf11
with:
check_name: Test results
github_token: ${{ secrets.GITHUB_TOKEN }}
files: reports/results.xml
junit_files: reports/results.xml

- name: Run grcov
shell: bash
Expand Down Expand Up @@ -270,7 +280,8 @@ jobs:

cargo --version

- uses: actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d
- name: Run Clippy for GitHub Actions report
uses: actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --workspace --all-targets --all-features
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Approve PR
if: ${{steps.metadata.outputs.update-type != 'version-update:semver-major'}}
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
if: ${{ steps.metadata.outputs.update-type != 'version-update:semver-major' }}
shell: bash
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr review --approve "$PR_URL"

- name: Auto-merge
if: ${{steps.metadata.outputs.update-type != 'version-update:semver-major'}}
if: ${{ steps.metadata.outputs.update-type != 'version-update:semver-major' }}
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: |
gh pr merge --auto --merge "$PR_URL"
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,22 @@ jobs:

cargo --version

- name: Install cocogitto for commit linting
- name: Get binstall
shell: bash
run: |
archive="cargo-binstall-x86_64-unknown-linux-musl.tgz"
wget "https://github.com/ryankurte/cargo-binstall/releases/latest/download/${archive}"

tar -xvf "./${archive}"

rm "./${archive}"

mv ./cargo-binstall ~/.cargo/bin/

- name: Install cocogitto to get the next version number
shell: bash
run: |
cargo install --locked cocogitto;
cargo binstall --no-confirm cocogitto --pkg-url "{ repo }/releases/download/{ version }/{ name }-{ version }-{ target }.tar.gz" --bin-dir "{ bin }";

- name: Check the commits
shell: bash
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Semgrep

on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "41 3 * * 6"

permissions:
security-events: write
actions: read
contents: read

jobs:
semgrep:
name: Scan
runs-on: ubuntu-latest

steps:
- name: Check out repo
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b

- name: Install Semgrep
shell: bash
run: |
brew install semgrep

- name: Run Semgrep
shell: bash
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
run: |
semgrep scan --sarif --output=semgrep.sarif --config=auto

- name: Upload SARIF file for GitHub Advanced Security Dashboard
if: always()
uses: github/codeql-action/upload-sarif@3f62b754e23e0dd60f91b744033e1dc1654c0ec6
with:
sarif_file: semgrep.sarif
8 changes: 3 additions & 5 deletions .github/workflows/yml-lint.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
name: Lint Yaml

# **What it does**: This lints our yaml files in the docs repository.
# **Why we have it**: We want some level of consistent formatting for YAML files.
# **Who does it impact**: Docs engineering, docs content.

on:
workflow_dispatch:
push:
Expand Down Expand Up @@ -38,4 +34,6 @@ jobs:
npm ci --ignore-scripts

- name: Run linter
run: npx --no-install prettier -c "**/*.{yml,yaml}"
shell: bash
run: |
npx --no-install prettier -c "**/*.{yml,yaml}"
16 changes: 8 additions & 8 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions .idea/advent-of-code-2021.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.github/actions/
.github/actions/
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"recommendations": [
"usernamehw.errorlens",
"matklad.rust-analyzer",
"rust-lang.rust-analyzer",
"swellaby.vscode-rust-test-adapter"
]
}