File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 7373 override : true
7474
7575 - name : Setup PostgreSQL
76- uses : ikalnytskyi/action-setup-postgres@v6
76+ uses : ikalnytskyi/action-setup-postgres@v7
7777
7878 - id : detect_host
7979 run : |
Original file line number Diff line number Diff line change 7777 override : true
7878
7979 - name : Setup PostgreSQL
80- uses : ikalnytskyi/action-setup-postgres@v6
80+ uses : ikalnytskyi/action-setup-postgres@v7
8181 id : postgres
8282
8383 - name : Set ROCKET_DATABASE_URL
@@ -127,7 +127,7 @@ jobs:
127127 override : true
128128
129129 - name : Setup PostgreSQL
130- uses : ikalnytskyi/action-setup-postgres@v6
130+ uses : ikalnytskyi/action-setup-postgres@v7
131131 id : postgres
132132
133133 - run : |
Original file line number Diff line number Diff line change @@ -303,6 +303,7 @@ impl Storage for SqlStorage {
303303 Ok ( snippet)
304304 }
305305
306+ #[ allow( dead_code) ]
306307 async fn update ( & self , snippet : & Snippet ) -> Result < Snippet , StorageError > {
307308 // load the snippet from the db to check if we need to update anything
308309 let persisted_state = self . get ( & snippet. id ) . await ?;
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ impl Fairing for RequestIdHeader {
6464/// A natural point of integration with Rocket is a fairing, which allows us to
6565/// execute some code before and after each HTTP request, which is exactly what
6666/// we need for determining the boundaries of a request span.
67+ #[ allow( dead_code) ]
6768pub struct RequestSpan ;
6869
6970// TODO: Now that Rocket is using async internally, this is not guaranteed to
You can’t perform that action at this time.
0 commit comments