fix(fabricx): optimize rwset serialization and state queries #6596
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: "CodeQL" | |
| on: | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - '**/*.md' | |
| - 'docs/**' | |
| - 'LICENSE' | |
| - '.gitignore' | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: | |
| - '**/*.md' | |
| - 'docs/**' | |
| - 'LICENSE' | |
| - '.gitignore' | |
| schedule: | |
| - cron: '39 22 * * 5' | |
| jobs: | |
| analyze: | |
| name: Analyze | |
| runs-on: 'ubuntu-latest' | |
| timeout-minutes: 60 | |
| permissions: | |
| security-events: write | |
| packages: read | |
| actions: read | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # ratchet:actions/checkout@v7.0.1 | |
| - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # ratchet:actions/setup-go@v7.0.0 | |
| with: | |
| go-version-file: "go.mod" | |
| cache-dependency-path: "**/*.sum" | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@c16c0f3f2812ec4bb3750a5ed64873fe2ce0fbef # ratchet:github/codeql-action/init@codeql-bundle-v2.26.3 | |
| with: | |
| languages: go | |
| build-mode: manual | |
| - run: make -j2 install-fabric-bins pull-images-database | |
| - name: Build manually | |
| shell: bash | |
| run: | | |
| make install-fsccli | |
| go build -o node ./ci/codeql/node | |
| make unit-tests unit-tests-postgres | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@c16c0f3f2812ec4bb3750a5ed64873fe2ce0fbef # ratchet:github/codeql-action/analyze@codeql-bundle-v2.26.3 | |
| with: | |
| category: "/language:go" |