Skip to content

build(action): bump codecov/codecov-action from 5 to 7 #86

build(action): bump codecov/codecov-action from 5 to 7

build(action): bump codecov/codecov-action from 5 to 7 #86

Workflow file for this run

name: ci
on:
push:
paths-ignore:
- '**/README.md'
branches:
- 'main'
- 'release-*'
- '*-feature-*'
- '*-enhancement-*'
- '*-hotfix-*'
- '*-bug-*'
- '*-documentation-*'
- 'BF-*'
- 'FE-*'
- 'PU-*'
- 'DOC-*'
tags:
- '*' # Push events to matching *, i.e. 1.0.0 v1.0, v20.15.10
pull_request:
paths-ignore:
- '**/README.md'
types: # https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#pull_request
- opened
- reopened
- closed
# branches:
# - 'main'
# - 'release-*'
# - 'DOC-*'
# - 'hotfix-*'
permissions:
contents: write
discussions: write
jobs:
version:
name: version
uses: ./.github/workflows/version.yml
rust-ci:
name: rust-ci
needs:
- version
uses: ./.github/workflows/rust-ci.yml
secrets: inherit
rust-build-check-main:
name: rust-build-check-main
needs:
- version
- rust-ci
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/main' ) || github.base_ref == 'main' }}
uses: ./.github/workflows/rust-release-platform.yml
secrets: inherit
with:
version_name: latest
rust-release-platform:
name: rust-release-platform
needs:
- version
- rust-ci
if: startsWith(github.ref, 'refs/tags/')
uses: ./.github/workflows/rust-release-platform.yml
secrets: inherit
with:
version_name: ${{ needs.version.outputs.tag_name }}
# upload_artifact_name: rust-release
rust-codecov-main:
name: rust-codecov-main
needs:
- version
- rust-ci
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/main' ) || github.base_ref == 'main' }}
uses: ./.github/workflows/rust-codecov.yml
secrets: inherit
deploy-tag:
needs:
- version
- rust-release-platform
name: deploy-tag
uses: ./.github/workflows/deploy-tag.yml
if: startsWith(github.ref, 'refs/tags/')
secrets: inherit
with:
dry_run: false # open/close dry run
prerelease: true
tag_name: ${{ needs.version.outputs.tag_name }}
tag_changes: ${{ needs.version.outputs.cc_changes }}
# download_artifact_name: rust-release