Commit Graph

62 Commits

Author SHA1 Message Date
flip1995
cd57c2307c
Revert "CI: update rustup before installing the toolchain on windows"
This reverts commit 716d03f86b.

This is no longer necessary, since rustup 1.24.2 is now the default
version on the windows runner.
2021-06-03 08:55:15 +02:00
flip1995
716d03f86b
CI: update rustup before installing the toolchain on windows 2021-05-18 10:03:36 +02:00
Cameron Steffen
0d144298ee Improve changelog check error handling 2021-04-13 14:53:12 -05:00
flip1995
26265bb9bc
ci: Sync clippy and clippy_bors workflows
Those workflows should always test exactly the same things
2021-03-05 10:27:30 +01:00
Cameron Steffen
1368cb34d1 Revert "Test workspace at once"
This reverts commit e355652fec.
2021-02-26 12:10:24 -06:00
Cameron Steffen
e355652fec Test workspace at once 2021-02-16 10:50:43 -06:00
Matthias Krüger
2218dd6554 ci: run cargo clippy --fix -Zunstable-options in the correct directory. 2020-12-24 13:57:39 +01:00
Matthias Krüger
d6a7ebcdd6 ci: test cargo clippy --fix -Zunstable-options 2020-12-22 02:01:16 +01:00
flip1995
836325e9d9
Fix integration test runner 2020-12-10 12:44:27 +01:00
flip1995
26dcbf5523
Stop caching on CI
The only thing we now cache is cargo-cache, which we only use for cache.
That's a catch-22 if I ever seen one. And for Clippy itself we always
want to do a clean build and not cache anything.
2020-12-10 10:53:20 +01:00
flip1995
41cab83fdb
Fix toolchain installation in workflows 2020-12-10 10:53:19 +01:00
flip1995
20d84fdd98
Enable internal lints for every test in CI 2020-12-10 09:57:30 +01:00
Eduardo Broto
77a32ebe1e
Use new cache key 2020-12-10 09:57:30 +01:00
Eduardo Broto
613333acd5
Pin Clippy to a nightly 2020-12-10 09:57:29 +01:00
Matthias Krüger
252083f7e0 address review comments and rebase
ci: always build with internal lints
group up internal lints in lib.rs
dogfood: we already pass --all-features, no need to enable internal-lints again
2020-11-29 23:43:23 +01:00
Matthias Krüger
b25a6df775 ci: partly clean build artifacts to work around "Found multiple rlibs for crate clippy_lints" compiletest error 2020-11-29 21:07:47 +01:00
Matthias Krüger
2838b04487 add internal-lints feature to enable clippys internal lints (off by default) 2020-11-29 21:07:43 +01:00
flip1995
c4c9453ccf
Use defaults.run.shell instead of setting shell every time 2020-10-09 11:53:16 +02:00
flip1995
64a7d019f1
Remove all usage of set-env 2020-10-09 11:49:54 +02:00
flip1995
2c8cd7d93c
Update actions due to deprecation of set-env and add-path 2020-10-09 09:17:48 +02:00
Eduardo Broto
6dd65b8e6a Fix cargo dev new_lint for late lint passes 2020-08-23 10:14:09 +02:00
flip1995
ab649c920e
Disable chrono integration test 2020-06-30 16:19:42 +02:00
Lzu Tao
8db24840f7 Merge commit 'ff0993c5e9162ddaea78e83d0f0161e68bd4ea73' into clippy 2020-06-09 14:36:01 +00:00
flip1995
a0e9f9bd0d Merge commit '7ea7cd165ad6705603852771bf82cc2fd6560db5' into clippyup2 2020-05-28 15:45:24 +02:00
flip1995
0476e8b483
Remove apt-get upgrade again 2020-04-23 21:14:45 +02:00
flip1995
35ef280b55
Always use the deploy script and templates of the master branch 2020-04-23 21:14:35 +02:00
bors
2f6b6ab8a1 Auto merge of #5475 - woshilapin:woshilapin-patch-1, r=flip1995
[fix] Minor typo in GH Actions 'clippy_dev'

changelog: minor: fixes file name in Github Actions workflow `clippy_dev.yml`

I was looking for something else and ended up on that typo, just thought I would fix it.
2020-04-16 20:29:19 +00:00
bors
3704954bd1 Auto merge of #5474 - phansch:reenable-rustfmt, r=flip1995
Reenable rustfmt integration test

changelog: none
2020-04-16 19:39:28 +00:00
Matthias Krüger
d181fde95e CI: performing system upgrade fixes broken apt deps on ubuntu 32bit
See #5477 for details
2020-04-16 21:03:59 +02:00
Jean SIMARD
b5d62335a4
[fix] Minor typo in GH Actions 'clippy_dev' 2020-04-16 13:51:37 +02:00
Philipp Hansch
014c41547e
Reenable rustfmt integration test 2020-04-16 13:17:06 +02:00
Philipp Hansch
8ad1d780e9
Temporarily disable rustfmt integration test
Running rustfmt from master is currently broken:
https://github.com/rust-lang/rust/issues/71077
2020-04-13 15:31:39 +02:00
flip1995
deb1979b8e
Make limit_stderr_length a subcommand 2020-03-31 17:24:09 +02:00
flip1995
aa1ad42736
Also deploy from the beta branch 2020-03-25 20:20:54 +01:00
flip1995
e4fc9316cd
Get integration test binary from deps dir
cc rust-lang/cargo#7965
2020-03-19 16:10:33 +01:00
Yuki Okushi
e633ea823c Revive rls integration test 2020-03-04 04:32:42 +09:00
Yuki Okushi
cda7881869 Disable rls test for now 2020-03-02 00:17:14 +09:00
Yuki Okushi
ee91b5b2dd Do not run deploy action on other repos 2020-02-24 15:16:23 +09:00
bors
eaed72f537 Auto merge of #5165 - matthiaskrgr:ci_cargo_cache_autoclean, r=flip1995
gha: install cargo-cache with ci-autoclean feature which speeds up build time by a large margin.

changelog: none
2020-02-12 15:11:32 +00:00
Matthias Krüger
b755a7d714 gha: install cargo-cache with ci-autoclean feature which speeds up build time by a large margin. 2020-02-12 15:40:49 +01:00
flip1995
3241e4fed4
Run deploy workflow on tags, instead of releases 2020-02-12 15:01:39 +01:00
flip1995
b0d25de54a
Use list instead of array for branch names
This is the officially supported method
2020-02-12 11:03:39 +01:00
flip1995
3fac289c3d
Don't upload target/release in integration_build
This dir was generated by compiling RTIM, when no cache is available
2020-02-12 10:01:19 +01:00
flip1995
a0a21a8752
Use nightly cargo to install cargo-cache
Stable cargo install still errors when packages exists, instead of updating it
2020-02-12 09:34:28 +01:00
flip1995
b47dada167
Apply review comments 2020-02-12 09:34:28 +01:00
flip1995
abb095dded
Run bors checks unconditionally
This is important, since bors doesn't know optional jobs. Otherwise bors
would time out, when a check doesn't get run.
2020-02-12 09:34:28 +01:00
flip1995
b8b47ab6fe
Add bors dummy jobs 2020-02-12 09:34:28 +01:00
flip1995
813d3192bb
Use hash of Cargo.lock file in cache name 2020-02-12 09:34:28 +01:00
flip1995
1ceeb13e0a
Build Clippy before running integration tests 2020-02-12 09:34:27 +01:00
flip1995
ab43951d41
Allow non-ascii characters in changelog check 2020-02-12 09:34:27 +01:00