Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Add admin RPCs to analyze expiring and recoverable liquidity #791

Add admin RPCs to analyze expiring and recoverable liquidity

Add admin RPCs to analyze expiring and recoverable liquidity #791

Workflow file for this run

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