Skip to content

Commit bd2fb95

Browse files
authored
Merge pull request #25 from fluence-eu/ci/migrate-to-v6-config-file
ci: migrate to ci-workflows@v6 config file
2 parents e345193 + ed191bd commit bd2fb95

13 files changed

Lines changed: 27 additions & 26 deletions

‎.fluence-ci.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Per-project options for the fluence-eu/ci-workflows@v6 reusables.
2+
# Full key schema: https://github.com/fluence-eu/ci-workflows#per-project-configuration-fluence-ciyml
3+
codequality:
4+
paths: lib
5+
6+
release:
7+
gem_specs: filterable

‎.github/workflows/codequality-measure.yml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ on:
66

77
jobs:
88
measure:
9-
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-codequality-measure.yml@v5
10-
with:
11-
paths: 'lib'
9+
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-codequality-measure.yml@v6
1210
permissions:
1311
contents: read
1412
packages: read

‎.github/workflows/codequality-pr.yml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ on:
55

66
jobs:
77
codequality:
8-
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-codequality-pr.yml@v5
9-
with:
10-
paths: 'lib'
8+
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-codequality-pr.yml@v6
119
secrets:
1210
FLUENCE_CI_BOT_PRIVATE_KEY: ${{ secrets.FLUENCE_CI_BOT_PRIVATE_KEY }}
1311
FLUENCE_RELEASE_BOT_PRIVATE_KEY: ${{ secrets.FLUENCE_RELEASE_BOT_PRIVATE_KEY }}

‎.github/workflows/coverage-measure.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
measure:
9-
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-coverage-measure.yml@v5
9+
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-coverage-measure.yml@v6
1010
permissions:
1111
contents: read
1212
packages: read

‎.github/workflows/coverage-pr.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
coverage:
8-
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-coverage-pr.yml@v5
8+
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-coverage-pr.yml@v6
99
secrets:
1010
FLUENCE_CI_BOT_PRIVATE_KEY: ${{ secrets.FLUENCE_CI_BOT_PRIVATE_KEY }}
1111
FLUENCE_RELEASE_BOT_PRIVATE_KEY: ${{ secrets.FLUENCE_RELEASE_BOT_PRIVATE_KEY }}

‎.github/workflows/docs-deploy.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
docs:
10-
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-docs-deploy.yml@v5
10+
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-docs-deploy.yml@v6
1111
permissions:
1212
contents: read
1313
pages: write

‎.github/workflows/docs-measure.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
measure:
9-
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-docs-measure.yml@v5
9+
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-docs-measure.yml@v6
1010
permissions:
1111
contents: read
1212
packages: read

‎.github/workflows/docs-pr.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
docs:
8-
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-docs-pr.yml@v5
8+
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-docs-pr.yml@v6
99
secrets:
1010
FLUENCE_CI_BOT_PRIVATE_KEY: ${{ secrets.FLUENCE_CI_BOT_PRIVATE_KEY }}
1111
FLUENCE_RELEASE_BOT_PRIVATE_KEY: ${{ secrets.FLUENCE_RELEASE_BOT_PRIVATE_KEY }}

‎.github/workflows/prepare-release.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ on:
1414

1515
jobs:
1616
prepare:
17-
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-prepare-release.yml@v5
17+
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-prepare-release.yml@v6
1818
with:
19-
gem_specs: filterable
2019
bump: ${{ inputs.bump }}
2120
secrets:
2221
FLUENCE_RELEASE_BOT_PRIVATE_KEY: ${{ secrets.FLUENCE_RELEASE_BOT_PRIVATE_KEY }}

‎.github/workflows/publish.yml‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,18 @@ name: Publish Gem
33
on:
44
release:
55
types: [published]
6+
workflow_dispatch:
7+
inputs:
8+
tag:
9+
description: Tag to publish (e.g. v0.10.0). Must already have a corresponding GitHub Release with the gem asset(s) attached.
10+
required: true
11+
type: string
612

713
jobs:
814
publish:
9-
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-publish.yml@v5
15+
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-publish.yml@v6
1016
with:
11-
gem_name: filterable
17+
tag: ${{ inputs.tag }}
1218
permissions:
1319
contents: read
1420
packages: write

0 commit comments

Comments
 (0)