Skip to content

update to rpc-client-go v2.56.0 #59

update to rpc-client-go v2.56.0

update to rpc-client-go v2.56.0 #59

Workflow file for this run

name: CI
on:
push:
branches: [ "master", "main" ]
paths:
- "examples/**"
- "scripts/**"
- "v2/**"
pull_request:
branches: [ "master", "main" ]
paths:
- "examples/**"
- "scripts/**"
- "v2/**"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: 1.25
- name: Test
run: |
export TEST_DEBUG=1
bash ./scripts/run_tests.sh
- name: Coverage Badge - Generate
if: github.event_name != 'pull_request'
uses: tj-actions/coverage-badge-go@v3
with:
filename: coverage-percent.out
- name: Autodocs - Generate
if: github.event_name != 'pull_request'
run: |
npm i -g markdown-autodocs
markdown-autodocs -c code-block -o ./README.md
- name: Verify Changed files
uses: tj-actions/verify-changed-files@v20
id: verify-changed-files
with:
files: README.md
- name: Commit changes
if: steps.verify-changed-files.outputs.files_changed == 'true'
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add README.md
git commit -m "chore: Update README.md"
- name: Push changes
if: steps.verify-changed-files.outputs.files_changed == 'true'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.head_ref }}