Skip to content

Commit 1bdf7ac

Browse files
authored
refactor: validation workflow now test from gateway action (#4)
2 parents 4681b9c + da29b7d commit 1bdf7ac

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ jobs:
7575
- uses: actions/checkout@v4
7676
- name: Test Python Action (Dry Run)
7777
id: version_bump
78-
uses: ./.github/actions/version-bumping/python
78+
uses: ./
7979
with:
80+
type: python
8081
token: ${{ secrets.GITHUB_TOKEN }}
8182
pyproject-file: "test-resources/pyproject.toml"
8283
dry-run: "true"
@@ -101,8 +102,9 @@ jobs:
101102
- uses: actions/checkout@v4
102103
- name: Test NPM Action (Dry Run)
103104
id: version_bump
104-
uses: ./.github/actions/version-bumping/npm
105+
uses: ./
105106
with:
107+
type: npm
106108
token: ${{ secrets.GITHUB_TOKEN }}
107109
package-json-file: "test-resources/package.json"
108110
dry-run: "true"
@@ -127,8 +129,9 @@ jobs:
127129
- uses: actions/checkout@v4
128130
- name: Test Maven Action (Dry Run)
129131
id: version_bump
130-
uses: ./.github/actions/version-bumping/maven
132+
uses: ./
131133
with:
134+
type: maven
132135
token: ${{ secrets.GITHUB_TOKEN }}
133136
dry-run: "true"
134137
pom-file: "test-resources/pom.xml"
@@ -155,8 +158,9 @@ jobs:
155158
- uses: actions/checkout@v4
156159
- name: Test Version File Action (Dry Run)
157160
id: version_bump
158-
uses: ./.github/actions/version-bumping/version-file
161+
uses: ./
159162
with:
163+
type: version-file
160164
token: ${{ secrets.GITHUB_TOKEN }}
161165
version-file: "test-resources/VERSION"
162166
dry-run: "true"

0 commit comments

Comments
 (0)