mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 16:06:56 +00:00
test: build action docker image locally when running tests
This commit is contained in:
parent
2e19de5fb9
commit
02bab91ad9
2 changed files with 3 additions and 0 deletions
2
.github/workflows/commitlint.yml
vendored
2
.github/workflows/commitlint.yml
vendored
|
|
@ -8,6 +8,7 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
- run: sed -i -E "s/([']docker:.+)/Dockerfile/" ./action.yml
|
||||||
- uses: ./
|
- uses: ./
|
||||||
commitlint-with-yml-file:
|
commitlint-with-yml-file:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -15,6 +16,7 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
- run: sed -i -E "s/([']docker:.+)/Dockerfile/" ./action.yml
|
||||||
- uses: ./
|
- uses: ./
|
||||||
with:
|
with:
|
||||||
configFile: './.commitlintrc.yml'
|
configFile: './.commitlintrc.yml'
|
||||||
|
|
|
||||||
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
|
|
@ -8,4 +8,5 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
- run: sed -i -E "s/([']docker:.+)/Dockerfile/" ./action.yml
|
||||||
- uses: ./
|
- uses: ./
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue