You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
1.9 KiB

build(deps): Bump actions/checkout from 2.3.5 to 2.4.0 (#7199) Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/releases">actions/checkout's releases</a>.</em></p> <blockquote> <h2>v2.4.0</h2> <ul> <li>Convert SSH URLs like <code>org-&lt;ORG_ID&gt;@github.com:</code> to <code>https://github.com/</code> - <a href="https://github-redirect.dependabot.com/actions/checkout/pull/621">pr</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/checkout/commit/ec3a7ce113134d7a93b817d10a8272cb61118579"><code>ec3a7ce</code></a> set insteadOf url for org-id (<a href="https://github-redirect.dependabot.com/actions/checkout/issues/621">#621</a>)</li> <li><a href="https://github.com/actions/checkout/commit/fd47087372161c6f2a7b96d2ef87e944d89023ed"><code>fd47087</code></a> codeql should analyze lib not dist (<a href="https://github-redirect.dependabot.com/actions/checkout/issues/620">#620</a>)</li> <li><a href="https://github.com/actions/checkout/commit/3d677ac575eac4b370e52131024fa99ee754def1"><code>3d677ac</code></a> script to generate license info (<a href="https://github-redirect.dependabot.com/actions/checkout/issues/614">#614</a>)</li> <li><a href="https://github.com/actions/checkout/commit/826ba42d6c06e4d78b1b33478af7b54277e60b52"><code>826ba42</code></a> npm audit fix (<a href="https://github-redirect.dependabot.com/actions/checkout/issues/612">#612</a>)</li> <li><a href="https://github.com/actions/checkout/commit/eb8a193c1dbf4bbb2053320cef52bacc1a485839"><code>eb8a193</code></a> update dev dependencies and react to new linting rules (<a href="https://github-redirect.dependabot.com/actions/checkout/issues/611">#611</a>)</li> <li><a href="https://github.com/actions/checkout/commit/c49af7ca1f339b07a5baac8c8bfc49a5248f31d3"><code>c49af7c</code></a> Create codeql-analysis.yml (<a href="https://github-redirect.dependabot.com/actions/checkout/issues/602">#602</a>)</li> <li>See full diff in <a href="https://github.com/actions/checkout/compare/v2.3.5...v2.4.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=2.3.5&new-version=2.4.0)](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 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>
3 years ago
build(deps): Bump actions/checkout from 2.3.5 to 2.4.0 (#7199) Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/releases">actions/checkout's releases</a>.</em></p> <blockquote> <h2>v2.4.0</h2> <ul> <li>Convert SSH URLs like <code>org-&lt;ORG_ID&gt;@github.com:</code> to <code>https://github.com/</code> - <a href="https://github-redirect.dependabot.com/actions/checkout/pull/621">pr</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/checkout/commit/ec3a7ce113134d7a93b817d10a8272cb61118579"><code>ec3a7ce</code></a> set insteadOf url for org-id (<a href="https://github-redirect.dependabot.com/actions/checkout/issues/621">#621</a>)</li> <li><a href="https://github.com/actions/checkout/commit/fd47087372161c6f2a7b96d2ef87e944d89023ed"><code>fd47087</code></a> codeql should analyze lib not dist (<a href="https://github-redirect.dependabot.com/actions/checkout/issues/620">#620</a>)</li> <li><a href="https://github.com/actions/checkout/commit/3d677ac575eac4b370e52131024fa99ee754def1"><code>3d677ac</code></a> script to generate license info (<a href="https://github-redirect.dependabot.com/actions/checkout/issues/614">#614</a>)</li> <li><a href="https://github.com/actions/checkout/commit/826ba42d6c06e4d78b1b33478af7b54277e60b52"><code>826ba42</code></a> npm audit fix (<a href="https://github-redirect.dependabot.com/actions/checkout/issues/612">#612</a>)</li> <li><a href="https://github.com/actions/checkout/commit/eb8a193c1dbf4bbb2053320cef52bacc1a485839"><code>eb8a193</code></a> update dev dependencies and react to new linting rules (<a href="https://github-redirect.dependabot.com/actions/checkout/issues/611">#611</a>)</li> <li><a href="https://github.com/actions/checkout/commit/c49af7ca1f339b07a5baac8c8bfc49a5248f31d3"><code>c49af7c</code></a> Create codeql-analysis.yml (<a href="https://github-redirect.dependabot.com/actions/checkout/issues/602">#602</a>)</li> <li>See full diff in <a href="https://github.com/actions/checkout/compare/v2.3.5...v2.4.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=2.3.5&new-version=2.4.0)](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 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>
3 years ago
  1. name: Test
  2. on:
  3. pull_request:
  4. push:
  5. paths:
  6. - "**.go"
  7. branches:
  8. - master
  9. - release/**
  10. jobs:
  11. tests:
  12. runs-on: ubuntu-latest
  13. strategy:
  14. fail-fast: false
  15. matrix:
  16. part: ["00", "01", "02", "03"]
  17. steps:
  18. - uses: actions/setup-go@v2
  19. with:
  20. go-version: "1.17"
  21. - uses: actions/checkout@v2.4.0
  22. - uses: technote-space/get-diff-action@v5
  23. with:
  24. PATTERNS: |
  25. **/**.go
  26. "!test/"
  27. go.mod
  28. go.sum
  29. Makefile
  30. - name: Run Go Tests
  31. run: |
  32. make test-group-${{ matrix.part }} NUM_SPLIT=4
  33. if: env.GIT_DIFF
  34. - uses: actions/upload-artifact@v2
  35. with:
  36. name: "${{ github.sha }}-${{ matrix.part }}-coverage"
  37. path: ./build/${{ matrix.part }}.profile.out
  38. upload-coverage-report:
  39. runs-on: ubuntu-latest
  40. needs: tests
  41. steps:
  42. - uses: actions/checkout@v2.4.0
  43. - uses: technote-space/get-diff-action@v5
  44. with:
  45. PATTERNS: |
  46. **/**.go
  47. "!test/"
  48. go.mod
  49. go.sum
  50. Makefile
  51. - uses: actions/download-artifact@v2
  52. with:
  53. name: "${{ github.sha }}-00-coverage"
  54. if: env.GIT_DIFF
  55. - uses: actions/download-artifact@v2
  56. with:
  57. name: "${{ github.sha }}-01-coverage"
  58. if: env.GIT_DIFF
  59. - uses: actions/download-artifact@v2
  60. with:
  61. name: "${{ github.sha }}-02-coverage"
  62. if: env.GIT_DIFF
  63. - uses: actions/download-artifact@v2
  64. with:
  65. name: "${{ github.sha }}-03-coverage"
  66. if: env.GIT_DIFF
  67. - run: |
  68. cat ./*profile.out | grep -v "mode: set" >> coverage.txt
  69. if: env.GIT_DIFF
  70. - uses: codecov/codecov-action@v2.1.0
  71. with:
  72. file: ./coverage.txt
  73. if: env.GIT_DIFF