Skip to content

Commit

Permalink
ci: update coverage files
Browse files Browse the repository at this point in the history
  • Loading branch information
ifiokjr committed Aug 26, 2024
1 parent 8fe3155 commit 1d91a12
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/actions/devenv/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ runs:
run: nix-store --import < ${{ inputs.nix-cache }}
shell: bash
- name: enable cachix
uses: cachix/cachix-action@v14
uses: cachix/cachix-action@v15
with:
name: devenv
- name: install devenv.sh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
runs-on: "ubuntu-latest"
strategy:
matrix:
version: ["1.72.0", stable]
version: ["1.72.0", stable, beta, nightly]
env:
RUSTUP_TOOLCHAIN: ${{ matrix.version }}
steps:
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
runs-on: "ubuntu-latest"
strategy:
matrix:
version: ["1.72.0", stable, beta]
version: ["1.72.0", stable, beta, nightly]
env:
RUSTUP_TOOLCHAIN: ${{ matrix.version }}
steps:
Expand Down
9 changes: 1 addition & 8 deletions crates/edgedb_codegen_core/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,7 @@ pub fn resolve_path(path: impl AsRef<Path>, error_span: Span) -> syn::Result<Pat

pub async fn rustfmt(source: &str) -> std::io::Result<String> {
let mut process = Command::new("rustfmt")
.args([
"--emit",
"stdout",
"--unstable-features",
"--edition",
"2021",
])
.env("RUSTUP_TOOLCHAIN", "nightly")
.args(["--emit", "stdout"])
.stdin(std::process::Stdio::piped())
.stdout(std::process::Stdio::piped())
.spawn()?;
Expand Down

0 comments on commit 1d91a12

Please sign in to comment.