chore(i): Bump libp2p and suppress pstoreds
warning
#7359
Workflow file for this run
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
# Copyright 2022 Democratized Data Foundation | |
# | |
# Use of this software is governed by the Business Source License | |
# included in the file licenses/BSL.txt. | |
# | |
# As of the Change Date specified in that file, in accordance with | |
# the Business Source License, use of this software will be governed | |
# by the Apache License, Version 2.0, included in the file | |
# licenses/APL.txt. | |
name: Code Test Coverage Workflow | |
on: | |
pull_request: | |
branches: | |
- master | |
- develop | |
push: | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
branches: | |
- master | |
- develop | |
jobs: | |
code-test-coverage: | |
name: Code test coverage job | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Go environment explicitly | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.20" | |
check-latest: true | |
- name: Generate full test coverage report using go-acc | |
run: make test:coverage | |
- name: Upload coverage to Codecov without token, retry on failure | |
env: | |
codecov_secret: ${{ secrets.CODECOV_TOKEN }} | |
if: env.codecov_secret == '' | |
uses: Wandalen/[email protected] | |
with: | |
attempt_limit: 5 | |
attempt_delay: 10000 | |
action: codecov/codecov-action@v3 | |
with: | | |
name: defradb-codecov | |
files: ./coverage.txt | |
flags: all-tests | |
os: 'linux' | |
fail_ci_if_error: true | |
verbose: true | |
- name: Upload coverage to Codecov with token | |
env: | |
codecov_secret: ${{ secrets.CODECOV_TOKEN }} | |
if: env.codecov_secret != '' | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ env.codecov_secret }} | |
name: defradb-codecov | |
files: ./coverage.txt | |
flags: all-tests | |
os: 'linux' | |
fail_ci_if_error: true | |
verbose: true | |
# path_to_write_report: ./coverage/codecov_report.txt | |
# directory: ./coverage/reports/ |