Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
override: true

- name: Setup PostgreSQL
uses: ikalnytskyi/action-setup-postgres@v6
uses: ikalnytskyi/action-setup-postgres@v7

- id: detect_host
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
override: true

- name: Setup PostgreSQL
uses: ikalnytskyi/action-setup-postgres@v6
uses: ikalnytskyi/action-setup-postgres@v7
id: postgres

- name: Set ROCKET_DATABASE_URL
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
override: true

- name: Setup PostgreSQL
uses: ikalnytskyi/action-setup-postgres@v6
uses: ikalnytskyi/action-setup-postgres@v7
id: postgres

- run: |
Expand Down
1 change: 1 addition & 0 deletions src/storage/sql/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ impl Storage for SqlStorage {
Ok(snippet)
}

#[allow(dead_code)]
async fn update(&self, snippet: &Snippet) -> Result<Snippet, StorageError> {
// load the snippet from the db to check if we need to update anything
let persisted_state = self.get(&snippet.id).await?;
Expand Down
1 change: 1 addition & 0 deletions src/web/tracing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ impl Fairing for RequestIdHeader {
/// A natural point of integration with Rocket is a fairing, which allows us to
/// execute some code before and after each HTTP request, which is exactly what
/// we need for determining the boundaries of a request span.
#[allow(dead_code)]
pub struct RequestSpan;

// TODO: Now that Rocket is using async internally, this is not guaranteed to
Expand Down
Loading