Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update workflow to use basic-test-results #856

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:
permissions:
contents: "read"
id-token: "write"
issues: "write"
pull-requests: "write"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -22,11 +24,11 @@ jobs:
lint:
name: Run Lint

uses: codecov/gha-workflows/.github/workflows/lint.yml@v1.2.24
uses: codecov/gha-workflows/.github/workflows/lint.yml@v1.2.26

build:
name: Build Worker
uses: codecov/gha-workflows/.github/workflows/build-app.yml@v1.2.24
uses: codecov/gha-workflows/.github/workflows/build-app.yml@v1.2.26

secrets: inherit
with:
Expand All @@ -35,14 +37,14 @@ jobs:
codecovstartup:
name: Codecov Startup
needs: build
uses: codecov/gha-workflows/.github/workflows/codecov-startup.yml@v1.2.24
uses: codecov/gha-workflows/.github/workflows/codecov-startup.yml@v1.2.26

secrets: inherit

test:
name: Test
needs: [build]
uses: codecov/gha-workflows/.github/workflows/run-tests.yml@v1.2.24
uses: codecov/gha-workflows/.github/workflows/run-tests.yml@v1.2.26

secrets: inherit
with:
Expand All @@ -52,7 +54,7 @@ jobs:
name: Build Self Hosted Worker
needs: [build, test]

uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.24
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.26
secrets: inherit
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}
Expand All @@ -61,7 +63,7 @@ jobs:
name: Push Staging Image
needs: [build, test]
if: ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/main' || github.event.ref == 'refs/heads/staging') && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.24
uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.26
secrets: inherit
with:
environment: staging
Expand All @@ -71,7 +73,7 @@ jobs:
name: Push Production Image
needs: [build, test]
if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.24
uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.26
secrets: inherit
with:
environment: production
Expand All @@ -82,7 +84,7 @@ jobs:
needs: [build-self-hosted, test]
secrets: inherit
if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.24
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.26
with:
push_rolling: true
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}
Loading