Add admin RPCs to analyze expiring and recoverable liquidity #791
Workflow file for this run
This file contains hidden or 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
| name: ci_unit | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - '*' | |
| jobs: | |
| check-go-sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: '>=1.25.5' | |
| - name: Check for changes | |
| run: | | |
| go mod tidy | |
| if [[ -n $(git status --porcelain) ]]; then | |
| echo "Changes detected after running go mod tidy" | |
| git diff | |
| exit 1 | |
| fi | |
| test-server: | |
| name: unit tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: '>=1.25.5' | |
| - uses: actions/checkout@v4 | |
| - name: check linting | |
| uses: golangci/golangci-lint-action@v8 | |
| with: | |
| version: v2.5.0 | |
| args: --timeout 5m | |
| - name: check code integrity | |
| uses: securego/gosec@master | |
| with: | |
| args: '-severity high -quiet -exclude=G115 ./...' | |
| - name: unit testing | |
| run: make test |