Add formatting, linting, and testing to CI checks (#44)

This PR adds `cargo fmt -- --check`, `nx lint ...` and `nx test ...` as
GitHub Actions. This will cause future PRs to automatically fail when
formatting issues, Clippy warnings, or test failures are present in the
changed code.
This commit is contained in:
Danny McGee
2024-02-15 16:04:45 -05:00
committed by GitHub
parent c7f5e3e828
commit a1779fb1ec
8 changed files with 68 additions and 14 deletions
+2 -4
View File
@@ -59,11 +59,9 @@
}
},
"test": {
"executor": "@nx/vite:test",
"outputs": ["{options.reportsDirectory}"],
"executor": "nx:run-commands",
"options": {
"passWithNoTests": true,
"reportsDirectory": "../coverage/react-frontend"
"command": "\n"
}
}
},