mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 06:18:17 +00:00
Port the changes made to travis configuration in #159 to GitHub workflows
This should fix the build failures due to unavailable components, e.g. error: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is unavailable for download for channel nightly Sometimes not all components are available in any given nightly.
This commit is contained in:
parent
f614481133
commit
8406a938d5
1 changed files with 1 additions and 2 deletions
3
.github/workflows/rust.yml
vendored
3
.github/workflows/rust.yml
vendored
|
@ -4,14 +4,13 @@ on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Setup Rust
|
- name: Setup Rust
|
||||||
run: |
|
run: |
|
||||||
rustup toolchain install nightly && rustup component add --toolchain nightly rustfmt
|
rustup toolchain install nightly --profile default
|
||||||
rustup toolchain install stable
|
rustup toolchain install stable
|
||||||
rustup override set stable
|
rustup override set stable
|
||||||
# Clippy must be run first, as its lints are only triggered during
|
# Clippy must be run first, as its lints are only triggered during
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue