-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from gaetbout/chore/rust
Chore/rust
- Loading branch information
Showing
39 changed files
with
4,461 additions
and
5,704 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,2 @@ | ||
[target.x86_64-unknown-linux-gnu] | ||
linker = "x86_64-unknown-linux-gnu-gcc" |
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,5 +1,4 @@ | ||
BEARER_TOKEN= | ||
NODE_PROVIDER_API_KEY= | ||
COINCAP_API_KEY= | ||
TWITTER_OAUTH2_CLIENT_ID= | ||
TWITTER_OAUTH2_CLIENT_SECRET= | ||
TWITTER_OAUTH2_CLIENT_SECRET= |
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,48 @@ | ||
name: RUST CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Step 1 - Check out main branch | ||
uses: actions/checkout@v3 | ||
|
||
- name: Step 2 - Install rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
|
||
- name: Step 3 - Run cargo check | ||
run: mv .env.example .env && rm -rf .cargo && cargo check | ||
|
||
fmt: | ||
runs-on: ubuntu-latest | ||
needs: check | ||
steps: | ||
- name: Step 1 - Check out main branch | ||
uses: actions/checkout@v3 | ||
|
||
- name: Step 2 - Install rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
|
||
- name: Step 3 - Run cargo fmt | ||
run: cargo fmt --check | ||
|
||
clippy: | ||
runs-on: ubuntu-latest | ||
needs: check | ||
steps: | ||
- name: Step 1 - Check out main branch | ||
uses: actions/checkout@v3 | ||
|
||
- name: Step 2 - Install rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
|
||
- name: Step 3 - Run cargo clippy | ||
run: mv .env.example .env && rm -rf .cargo && cargo clippy |
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,6 +1,9 @@ | ||
node_modules | ||
dist | ||
|
||
.env | ||
.vscode | ||
log | ||
log | ||
|
||
db/ | ||
|
||
# Added by cargo | ||
|
||
/target |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.