mirror of
https://github.com/kopia/kopia.git
synced 2026-01-24 14:28:06 -05:00
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.4.1 to 4.5.0. <details> <summary>Commits</summary> <ul> <li><a href="e28ff129e5"><code>e28ff12</code></a> chore(release): bump to 4.5.0 (<a href="https://redirect.github.com/codecov/codecov-action/issues/1477">#1477</a>)</li> <li><a href="7594baaf0c"><code>7594baa</code></a> Use an existing token even if the PR is from a fork (<a href="https://redirect.github.com/codecov/codecov-action/issues/1471">#1471</a>)</li> <li><a href="81c0a51dcc"><code>81c0a51</code></a> feat: add support for tokenless v3 (<a href="https://redirect.github.com/codecov/codecov-action/issues/1410">#1410</a>)</li> <li><a href="f5e203f3d9"><code>f5e203f</code></a> build(deps-dev): bump <code>@typescript-eslint/eslint-plugin</code> from 7.12.0 to 7.13.0 ...</li> <li><a href="7c48363ed3"><code>7c48363</code></a> build(deps-dev): bump braces from 3.0.2 to 3.0.3 (<a href="https://redirect.github.com/codecov/codecov-action/issues/1475">#1475</a>)</li> <li><a href="69e5d09ca1"><code>69e5d09</code></a> build(deps-dev): bump <code>@typescript-eslint/parser</code> from 7.12.0 to 7.13.0 (<a href="https://redirect.github.com/codecov/codecov-action/issues/1474">#1474</a>)</li> <li><a href="feaf700b2a"><code>feaf700</code></a> fix: handle trailing commas (<a href="https://redirect.github.com/codecov/codecov-action/issues/1470">#1470</a>)</li> <li><a href="7b6a727a4a"><code>7b6a727</code></a> build(deps): bump github/codeql-action from 3.25.7 to 3.25.8 (<a href="https://redirect.github.com/codecov/codecov-action/issues/1472">#1472</a>)</li> <li><a href="ccf7a1fd43"><code>ccf7a1f</code></a> build(deps-dev): bump <code>@typescript-eslint/eslint-plugin</code> from 7.11.0 to 7.12.0 ...</li> <li><a href="f03f015db9"><code>f03f015</code></a> build(deps-dev): bump <code>@typescript-eslint/parser</code> from 7.11.0 to 7.12.0 (<a href="https://redirect.github.com/codecov/codecov-action/issues/1467">#1467</a>)</li> <li>Additional commits viewable in <a href="125fc84a9a...e28ff129e5">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
36 lines
1020 B
YAML
36 lines
1020 B
YAML
name: Code Coverage
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [ master ]
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
tests:
|
|
name: Code Coverage Tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Set up Go
|
|
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
check-latest: true
|
|
id: go
|
|
- name: Run Tests
|
|
run: make test-with-coverage
|
|
- name: Upload Coverage
|
|
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
|
|
with:
|
|
files: coverage.txt
|
|
- name: Upload Logs
|
|
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
|
|
with:
|
|
name: logs
|
|
path: .logs/**/*.log
|
|
if-no-files-found: ignore
|
|
if: ${{ always() }} |