Skip to content

Commit

Permalink
Fix 'cargo fmt/clippy' issues.
Browse files Browse the repository at this point in the history
- Fix issue in test.yml
  • Loading branch information
spamwax committed Sep 21, 2023
1 parent a1404aa commit c34d92e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
build_non_fat:
name: Run non-fat tests on ubuntu
runs-on: ubuntu-latest
if: ${{ env.RELEASE_COMMIT != 'true' }}
if: ${{ github.ref_type != 'tag' }}
# if: ${{ github.ref_type == 'branch' && github.ref_name == 'develop' }}
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 3 additions & 1 deletion src/commands/delete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ use std::io::Write;
impl<'api, 'pin> Runner<'api, 'pin> {
pub fn delete(&mut self, cmd: SubCommand) {
debug!("Starting in delete");
let SubCommand::Delete { url, tag } = cmd else { unreachable!() };
let SubCommand::Delete { url, tag } = cmd else {
unreachable!()
};
match self.perform_delete(url, tag) {
Ok(s) if !s.is_empty() => {
io::stdout()
Expand Down
2 changes: 1 addition & 1 deletion src/workflow_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl fmt::Debug for Config {
.field("update_time", &self.update_time)
.field("workflow_data_dir", &self.workflow_data_dir)
.field("workflow_cache_dir", &self.workflow_cache_dir)
.finish()
.finish_non_exhaustive()
}
}

Expand Down

0 comments on commit c34d92e

Please sign in to comment.