Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Clear clippy warnings #74

Merged
merged 2 commits into from
Nov 17, 2022
Merged

Clear clippy warnings #74

merged 2 commits into from
Nov 17, 2022

Conversation

tcharding
Copy link
Collaborator

Clear all the clippy warnings introduce by a recent clippy update.

@tcharding tcharding mentioned this pull request Nov 16, 2022
@apoelstra
Copy link
Owner

Kicked CI. We're getting linker failures in syn on 1.41 which hopefully are intermittent or already fixed..

Clear all the clippy warnings introduce by a recent clippy update.
@tcharding
Copy link
Collaborator Author

Rebased on #75, seems to work.

@tcharding tcharding mentioned this pull request Nov 17, 2022
@@ -27,7 +28,7 @@ jobs:
- name: Running tests on ${{ matrix.toolchain }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can do this to avoid running on macos:

if: ${{ matrix.os != 'macOS-latest' }}

Also, I've seen it spelled macos-latest before, but maybe that doesn't matter.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do I prevent specifically rustc 1.41 from running on macos?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, sorry, I didn't realize that the combination of macos and 1.41. I didn't test this, but it should be something like:

if: ${{ !(matrix.os == 'macOS-latest' && matrix.toolchain == `1.4.1`) }}

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a huge PITA to test github actions :) bash is easier.

Copy link
Owner

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 4fd4cb1

@apoelstra apoelstra merged commit 0679d44 into apoelstra:master Nov 17, 2022
@tcharding tcharding deleted the 11-17-clippy branch November 20, 2022 23:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants