-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retrofit template with all the videocall stuff (#23)
* update ci, cache crates, go fast * save * update docker images * add help commands * config.toml * justin tv and twitch * clippy * fmt * remove cache --------- Co-authored-by: Dario Lencina <[email protected]>
- Loading branch information
1 parent
100328a
commit f0abdf7
Showing
15 changed files
with
174 additions
and
132 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'actix-api/**' | ||
- 'types/**' | ||
- Dockerfile.actix | ||
|
||
name: check backend | ||
|
||
env: | ||
ACTIX_PORT: 8080 | ||
TRUNK_SERVE_PORT: 80 | ||
TRUNK_SERVE_HOST: localhost | ||
OAUTH_CLIENT_ID: OAUTH_CLIENT_ID | ||
OAUTH_AUTH_URL: OAUTH_AUTH_URL | ||
OAUTH_TOKEN_URL: OAUTH_TOKEN_URL | ||
OAUTH_CLIENT_SECRET: OAUTH_CLIENT_SECRET | ||
OAUTH_REDIRECT_URL: http://localhost:${ACTIX_PORT:-8080}/login/callback | ||
RUST_LOG: info | ||
PG_URL: postgres://postgres:docker@postgres:5432/actix-api-db?sslmode=disable | ||
|
||
jobs: | ||
test: | ||
name: cargo test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dtolnay/[email protected] | ||
with: | ||
components: clippy, rustfmt | ||
- run: cd actix-api && cargo clippy -- --deny warnings | ||
- run: cd actix-api && cargo fmt --check | ||
- run: cd actix-api && cargo test |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,32 @@ | ||
# Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'yew-ui/**' | ||
- 'types/**' | ||
- Dockerfile.yew | ||
- nginx.conf | ||
|
||
|
||
name: check frontend | ||
|
||
env: | ||
ACTIX_PORT: {ACTIX_PORT:-8080} | ||
TRUNK_SERVE_PORT: ${TRUNK_SERVE_PORT:-80} | ||
ENABLE_OAUTH: true | ||
LOGIN_URL: http://localhost:${ACTIX_PORT:-8080}/login | ||
|
||
jobs: | ||
test: | ||
name: cargo test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dtolnay/[email protected] | ||
with: | ||
components: clippy, rustfmt | ||
# - run: cd yew-ui && cargo clippy -- --deny warnings | ||
- run: rustup target add wasm32-unknown-unknown | ||
- run: cd yew-ui && cargo fmt --check | ||
- run: cd yew-ui && cargo test |
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,2 @@ | ||
[net] | ||
git-fetch-with-cli = true |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.