-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bootstrap 'src/ya-comiste-rust' backend
I am still working on the schema design so this is just a project bootstrap so I can setup all the things around it.
- Loading branch information
Showing
31 changed files
with
2,684 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.github/workflows/continuous-integration.yml → ...ows/continuous-integration-javascript.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Continuous Integration | ||
name: Continuous Integration (JavaScript) | ||
|
||
on: [push] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Continuous Integration (Rust) | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'src/ya-comiste-rust/**' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2.3.4 | ||
|
||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
|
||
# https://github.com/actions-rs/cargo | ||
- uses: actions-rs/cargo@v1 | ||
with: | ||
command: clippy | ||
args: --manifest-path src/ya-comiste-rust/Cargo.toml | ||
|
||
# https://github.com/actions-rs/cargo | ||
- name: Run all tests | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --manifest-path src/ya-comiste-rust/Cargo.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
// @flow strict | ||
|
||
// https://jestjs.io/docs/en/configuration | ||
module.exports = { | ||
displayName: 'lint', | ||
rootDir: __dirname, | ||
verbose: false, | ||
reporters: ['@adeira/eslint-runner/reporter'], | ||
runner: '@adeira/eslint-runner', | ||
testMatch: ['<rootDir>/src/**/*.js', '<rootDir>/scripts/**/*.js'], | ||
testPathIgnorePatterns: [ | ||
'/node_modules/', | ||
|
||
// The only reason why this is here is because Jest fails on unrelated .snap files generated by Rust Insta. | ||
// See: https://github.com/facebook/jest/issues/8922 | ||
'<rootDir>/src/ya-comiste-rust/', | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
target |
Oops, something went wrong.