-
Notifications
You must be signed in to change notification settings - Fork 92
Fold ohttp-relay into rust-payjoin monorepo #1215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
85696ee
4ac4a4b
c229db6
1f3afc7
2beb297
aaad1df
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,6 +27,15 @@ jobs: | |
| # The toolchain must be specified manually, as this action ignores the rust-toolchain override | ||
| # https://github.com/dtolnay/rust-toolchain?tab=readme-ov-file#inputs | ||
| toolchain: ${{ matrix.rust }} | ||
| - name: "Install nix" | ||
| uses: cachix/install-nix-action@v25 | ||
| with: | ||
| nix_path: nixpkgs=channel:nixos-25.11 | ||
| # This is necessary for ohttp-relay integration tests | ||
| - name: "Add nginxWithStream to PATH" | ||
| run: | | ||
| nix build .#nginx-with-stream -o nginx | ||
| echo "$(pwd)/nginx/bin" >> $GITHUB_PATH | ||
| - name: "Use cache" | ||
| uses: Swatinem/rust-cache@v2 | ||
| - name: Run tests | ||
|
|
@@ -107,6 +116,15 @@ jobs: | |
| - name: "Install toolchain" | ||
| # rust-cache usage with stable Rust is most effective, as a cache is tied to the Rust version | ||
| uses: dtolnay/rust-toolchain@stable | ||
| - name: "Install nix" | ||
| uses: cachix/install-nix-action@v25 | ||
| with: | ||
| nix_path: nixpkgs=channel:nixos-25.11 | ||
| # This is necessary for ohttp-relay integration tests | ||
|
Comment on lines
+119
to
+123
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (these are mainly notes for tomorrow's call) determinate nix installer is flake based, so no need to specify a channel: https://github.com/DeterminateSystems/nix-installer-action and we can add caching with github's caching api: https://github.com/DeterminateSystems/magic-nix-cache-action which would be very useful for nix build and nix flake check of our own stuff relatedly, we probably also want https://github.com/DeterminateSystems/flake-checker-action and https://github.com/DeterminateSystems/update-flake-lock |
||
| - name: "Add nginxWithStream to PATH" | ||
| run: | | ||
| nix build .#nginx-with-stream -o nginx | ||
| echo "$(pwd)/nginx/bin" >> $GITHUB_PATH | ||
| - name: "Use cache" | ||
| uses: Swatinem/rust-cache@v2 | ||
| - name: "Install cargo-llvm-cov" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
although
-ois more stable than the usualresult, i would suggest using