eth/api: update to latest available go-ethereum apis (#301) #700
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
--- | |
name: CodeQL | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: | |
- ruby | |
steps: | |
- name: "Checkout repository" | |
uses: actions/checkout@v4 | |
- name: "Initialize CodeQL" | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: "${{ matrix.language }}" | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@v3 | |
- name: "Perform CodeQL Analysis" | |
uses: github/codeql-action/analyze@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3' | |
bundler-cache: true | |
- name: "Run rufo code formatting checks" | |
run: | | |
gem install rufo | |
rufo --check ./lib | |
rufo --check ./spec | |
- name: "Run yard documentation checks" | |
run: | | |
gem install yard | |
yard doc --fail-on-warning |