-
Notifications
You must be signed in to change notification settings - Fork 2
feat: migrate to soldeer #29
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
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 |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| name: Publish to Soldeer | ||
| on: | ||
| push: | ||
| tags: ["v*"] | ||
| jobs: | ||
| publish: | ||
| uses: rainlanguage/rainix/.github/workflows/publish-soldeer.yaml@main | ||
| secrets: inherit | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| name: rainix-sol | ||
| on: [push] | ||
| jobs: | ||
| rainix-sol: | ||
| uses: rainlanguage/rainix/.github/workflows/rainix-sol.yaml@main | ||
| secrets: inherit | ||
|
Comment on lines
+5
to
+6
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. 🧩 Analysis chain🏁 Script executed: find . -name "rainix-sol.yaml" -type fRepository: rainlanguage/rain.factory Length of output: 105 🏁 Script executed: git ls-files | grep -E "\.github/workflows"Repository: rainlanguage/rain.factory Length of output: 186 🏁 Script executed: cat -n .github/workflows/rainix-sol.yaml 2>/dev/null || echo "File not found in standard location"Repository: rainlanguage/rain.factory Length of output: 249 🏁 Script executed: grep -r "uses:.*@main\|uses:.*@v[0-9]" .github/workflows/ --include="*.yaml" --include="*.yml"Repository: rainlanguage/rain.factory Length of output: 567 🏁 Script executed: grep -l "secrets: inherit" .github/workflows/*.yaml 2>/dev/nullRepository: rainlanguage/rain.factory Length of output: 142 Pin the reusable workflow to a specific commit SHA instead of using Line 5 uses - uses: rainlanguage/rainix/.github/workflows/rainix-sol.yaml@main
+ uses: rainlanguage/rainix/.github/workflows/rainix-sol.yaml@<commit-sha>🤖 Prompt for AI Agents |
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,4 +2,7 @@ out | |
| cache | ||
| result | ||
| .env | ||
| .fixes | ||
| .fixes | ||
| dependencies | ||
| remappings.txt | ||
| .pre-commit-config.yaml | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| .DS_Store | ||
| .coderabbitai.yaml | ||
| .gas-snapshot | ||
| .git | ||
| .github | ||
| .gitignore | ||
| .gitmodules | ||
| .pre-commit-config.yaml | ||
| .soldeerignore | ||
| .vscode | ||
| CLAUDE.md | ||
| /audit | ||
| /cache | ||
| /dependencies | ||
| /flake.lock | ||
| /flake.nix | ||
| /foundry.lock | ||
| /foundry.toml | ||
| /meta | ||
| /out | ||
| /remappings.txt | ||
| /slither.config.json | ||
| /soldeer.lock | ||
| /REUSE.toml |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| { | ||
| "detectors_to_exclude": "assembly-usage,solc-version,pragma,unindexed-event-address", | ||
| "filter_paths": "lib/forge-std,test,lib/openzeppelin-contracts" | ||
| "filter_paths": "dependencies/forge-std-1.16.1,dependencies/@openzeppelin-contracts-5.6.1" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| [[dependencies]] | ||
| name = "@openzeppelin-contracts" | ||
| version = "5.6.1" | ||
| url = "https://soldeer-revisions.s3.amazonaws.com/@openzeppelin-contracts/5_6_1_15-03-2026_09:19:50_contracts.zip" | ||
| checksum = "a3b6bc661be858c7c27f60a1708cbebe8c71034b4cc1e9fe270d0a05b069352f" | ||
| integrity = "bce03af7ada1eee21a7fff393f238bcd7cd75a022a4db55ffb6b0dbb32433d35" | ||
|
|
||
| [[dependencies]] | ||
| name = "forge-std" | ||
| version = "1.16.1" | ||
| url = "https://soldeer-revisions.s3.amazonaws.com/forge-std/1_16_1_08-05-2026_08:51:16_forge-std-1.16.zip" | ||
| checksum = "839b61832925c7152c7b6dffbfa4998d9e606211179bd8f604733124e8a7cb57" | ||
| integrity = "60e55d10150354ca4a1e2985c5456c834b92b82ef85ab0e1d92a7786cddbd219" | ||
|
|
||
| [[dependencies]] | ||
| name = "rain-deploy" | ||
| version = "0.1.2" | ||
| url = "https://soldeer-revisions.s3.amazonaws.com/rain-deploy/0_1_2_09-05-2026_19:49:20_rain.zip" | ||
| checksum = "94d3daf2f9f90062d2e676077c2b4ccd2bdd66201665a2209e98016e155f619a" | ||
| integrity = "10bff708d9e5d8b77655b8a8fc0c755cef8e3fc876cc3ff100425d27b08294a0" | ||
|
|
||
| [[dependencies]] | ||
| name = "rain-extrospection" | ||
| version = "0.1.0" | ||
| url = "https://soldeer-revisions.s3.amazonaws.com/rain-extrospection/0_1_0_11-05-2026_12:26:12_rain.zip" | ||
| checksum = "97297c3f1d623c63f5996b4266a4c26f895a1ca17ab271a619af601f8950521d" | ||
| integrity = "30f7e23c71b24267d2db46085049aec5baaa693825ff8bc8fd72bd685da479ad" |
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.
🧩 Analysis chain
🏁 Script executed:
Repository: rainlanguage/rain.factory
Length of output: 602
🏁 Script executed:
Repository: rainlanguage/rain.factory
Length of output: 81
🏁 Script executed:
Repository: rainlanguage/rain.factory
Length of output: 51
🏁 Script executed:
Repository: rainlanguage/rain.factory
Length of output: 98
🏁 Script executed:
Repository: rainlanguage/rain.factory
Length of output: 689
🏁 Script executed:
Repository: rainlanguage/rain.factory
Length of output: 567
🏁 Script executed:
Repository: rainlanguage/rain.factory
Length of output: 291
Pin reusable workflow to an immutable commit SHA.
Using
@mainfor a reusable workflow while inheriting secrets creates a mutable trust boundary. Pin to a commit SHA (or an immutable, verified release ref) to prevent upstream ref drift from changing privileged CI behavior.Suggested change
🤖 Prompt for AI Agents