mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-07 17:04:59 +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:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Setup Rust
|
||||
run: |
|
||||
rustup toolchain install nightly && rustup component add --toolchain nightly rustfmt
|
||||
rustup toolchain install nightly --profile default
|
||||
rustup toolchain install stable
|
||||
rustup override set stable
|
||||
# Clippy must be run first, as its lints are only triggered during
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue