diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54a429a7..0fdcab58 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: diff --git a/lib/src/sparql/algebra.rs b/lib/src/sparql/algebra.rs index c265675e..0af8c0a2 100644 --- a/lib/src/sparql/algebra.rs +++ b/lib/src/sparql/algebra.rs @@ -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 {})",