CI: Always update rustup

pull/22/head
Tpt 5 years ago
parent 70f5c25a88
commit 8b539ab7ac
  1. 3
      .github/workflows/build.yml
  2. 3
      lib/src/sparql/algebra.rs

@ -8,6 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: rustup update
- run: rustup component add rustfmt
- run: cargo fmt -- --check
@ -16,6 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: rustup update
- run: rustup component add clippy
- run: cargo clippy --all --all-targets
@ -25,6 +27,7 @@ jobs:
- uses: actions/checkout@v1
with:
submodules: true
- run: rustup update
- run: cargo build
- run: cargo test --verbose --all
env:

@ -770,10 +770,9 @@ impl<'a> fmt::Display for SparqlGraphPattern<'a> {
SparqlGraphPattern(&*a),
SparqlGraphPattern(&*b),
),
#[rustfmt::skip] // TODO: Discrepancy between the latest cargo fmt and the one on GitHub CI
GraphPattern::Graph(g, p) => {
write!(f, "GRAPH {} {{ {} }}", g, SparqlGraphPattern(&*p),)
},
}
GraphPattern::Extend(p, v, e) => write!(
f,
"{} BIND({} AS {})",

Loading…
Cancel
Save