-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 0481ae6 Author: Cameron Cooper <[email protected]> Date: Tue Sep 24 15:01:33 2024 -0500 tag and release on push to main commit 7cfe6cf Author: Cameron Cooper <[email protected]> Date: Tue Sep 24 14:53:20 2024 -0500 fix build tagging commit dcbe259 Author: Cameron Cooper <[email protected]> Date: Tue Sep 24 14:50:37 2024 -0500 fix build tagging commit a833296 Author: cameroncooper <[email protected]> Date: Tue Sep 24 14:43:36 2024 -0500 added get_aggsig_additional_data command (#5) * added get_aggsig_additional_data command
- Loading branch information
1 parent
a1da8d4
commit 05944f9
Showing
3 changed files
with
112 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Build Pull Request | ||
|
||
on: | ||
pull_request: | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
goreleaser: | ||
runs-on: ubuntu-latest | ||
environment: goreleaser | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: stable | ||
- name: Run GoReleaser (Build) | ||
uses: goreleaser/goreleaser-action@v5 | ||
with: | ||
distribution: goreleaser | ||
version: ~> v1 | ||
args: build --clean --skip=validate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package cmd | ||
|
||
import ( | ||
"github.com/spf13/cobra" | ||
) | ||
|
||
func init() { | ||
rootCmd.AddCommand(getAggsigAdditionalDataCmd) | ||
} | ||
|
||
var getAggsigAdditionalDataCmd = &cobra.Command{ | ||
Use: "get_aggsig_additional_data", | ||
Short: "Returns the AGG_SIG additional data", | ||
Long: `Returns the additional data used for AGG_SIG conditions for the current network`, | ||
Run: func(cmd *cobra.Command, args []string) { | ||
makeRequest("get_aggsig_additional_data", nil) | ||
}, | ||
} |