split two jobs
This commit is contained in:
parent
fc9c759262
commit
1584ceb772
2 changed files with 21 additions and 18 deletions
|
@ -3,24 +3,6 @@ on:
|
||||||
types: [ assigned, opened, synchronize, reopened ]
|
types: [ assigned, opened, synchronize, reopened ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
|
||||||
run-name: lint
|
|
||||||
runs-on: x86_64
|
|
||||||
container:
|
|
||||||
image: alpinelinux/apkbuild-lint-tools:latest
|
|
||||||
env:
|
|
||||||
CI_PROJECT_DIR: ${{ github.workspace }}
|
|
||||||
CI_DEBUG_BUILD: ${{ runner.debug }}
|
|
||||||
CI_MERGE_REQUEST_PROJECT_URL: ${{ github.server_url }}/${{ github.repository }}
|
|
||||||
CI_MERGE_REQUEST_TARGET_BRANCH_NAME: ${{ github.base_ref }}
|
|
||||||
steps:
|
|
||||||
- run: doas apk add nodejs git
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 500
|
|
||||||
- run: lint
|
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
build-x86_64:
|
build-x86_64:
|
||||||
runs-on: x86_64
|
runs-on: x86_64
|
||||||
container:
|
container:
|
21
.forgejo/workflows/lint.yaml
Normal file
21
.forgejo/workflows/lint.yaml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [ assigned, opened, synchronize, reopened ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
run-name: lint
|
||||||
|
runs-on: x86_64
|
||||||
|
container:
|
||||||
|
image: alpinelinux/apkbuild-lint-tools:latest
|
||||||
|
env:
|
||||||
|
CI_PROJECT_DIR: ${{ github.workspace }}
|
||||||
|
CI_DEBUG_BUILD: ${{ runner.debug }}
|
||||||
|
CI_MERGE_REQUEST_PROJECT_URL: ${{ github.server_url }}/${{ github.repository }}
|
||||||
|
CI_MERGE_REQUEST_TARGET_BRANCH_NAME: ${{ github.base_ref }}
|
||||||
|
steps:
|
||||||
|
- run: doas apk add nodejs git
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 500
|
||||||
|
- run: lint
|
Loading…
Reference in a new issue