Skip to content

Commit

Permalink
rust ci cannot build
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetbout committed Aug 20, 2023
1 parent d633ba5 commit d00c8cc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: CI

on: [push, pull_request]

jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Step 1 - Check out main branch
uses: actions/checkout@v3

- name: Step 2 - Install project
run: actions-rs/toolchain@v1

- name: Step 3 - Check can build
run: check
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
);
headers.insert(
header::AUTHORIZATION,
HeaderValue::from_static("Bearer ${coincapApiKey}"),
HeaderValue::from_staic("Bearer ${coincapApiKey}"),
);

let client = reqwest::Client::builder().default_headers(headers).build()?;
Expand Down

0 comments on commit d00c8cc

Please sign in to comment.