Skip to content

Commit

Permalink
Use stable toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
MikailBag authored and p4vook committed Jul 31, 2020
1 parent f1b8151 commit 042ba29
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yaml

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

11 changes: 6 additions & 5 deletions .github/workflows/pr.yaml

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

2 changes: 1 addition & 1 deletion actions/blocks/rustc.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2020-06-25
toolchain: stable
components: clippy,rustfmt
override: true
1 change: 1 addition & 0 deletions actions/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
env:
CI: 1
RUST_BACKTRACE: full
RUSTC_BOOTSTRAP: 1
jobs:
docker:
name: docker
Expand Down
1 change: 1 addition & 0 deletions actions/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env:
RUST_BACKTRACE: full
CARGO_INCREMENTAL: 0
CARGO_BUILD_PIPELINING: "false"
RUSTC_BOOTSTRAP: 1
jobs:
hack:
name: hack
Expand Down
9 changes: 2 additions & 7 deletions src/devtool/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ impl BuildOpts {

fn should_build_deb(&self) -> bool {
detect_build_type().is_pr_e2e()
|| detect_build_type()
.deploy_info()
.contains(&DeployKind::Docker)
|| (detect_build_type().deploy_info() == Some(DeployKind::Deb))
|| self.0.deb
}

Expand All @@ -48,10 +46,7 @@ impl BuildOpts {
}

fn should_build_docker(&self) -> bool {
self.0.docker
|| detect_build_type()
.deploy_info()
.contains(&DeployKind::Docker)
self.0.docker || (detect_build_type().deploy_info() == Some(DeployKind::Docker))
}

fn raw(&self) -> &RawBuildOpts {
Expand Down

0 comments on commit 042ba29

Please sign in to comment.