Bump @graphql-codegen/client-preset from 4.2.5 to 4.5.1 in /web #618
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: Go Unit Tests | |
on: | |
push: | |
branches: | |
- development | |
paths: | |
- 'pkg/**' | |
- 'web/**' | |
- 'cmd/**' | |
- 'lib/**' | |
- 'go.*' | |
- '.github/workflows/tests-unit-go.yml' | |
pull_request: | |
branches: | |
- development | |
- test-suite-js | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.23.2' | |
- name: Install Go dependencies | |
run: go mod tidy | |
- name: Copy the configuration for pools toml file | |
run: cp config/pools.toml cmd/graphql.ethereum | |
- name: Run Go tests and generate coverage report | |
run: go test ./... -coverprofile=coverage-go.txt -covermode=count | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
fail_ci_if_error: true | |
flags: unittests | |
name: go-unit-tests | |
token: ${{ secrets.CODECOV_TOKEN }} | |
verbose: true |