ci: use 'linux' runner label
This commit is contained in:
@@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
gitleaks:
|
gitleaks:
|
||||||
runs-on: linux:host
|
runs-on: linux
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/gitleaks/gitleaks:latest
|
image: ghcr.io/gitleaks/gitleaks:latest
|
||||||
options: --entrypoint ""
|
options: --entrypoint ""
|
||||||
@@ -19,7 +19,7 @@ jobs:
|
|||||||
run: gitleaks detect --source . --verbose
|
run: gitleaks detect --source . --verbose
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
runs-on: linux:host
|
runs-on: linux
|
||||||
container:
|
container:
|
||||||
image: python:3.13-alpine
|
image: python:3.13-alpine
|
||||||
steps:
|
steps:
|
||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
run: ruff check src/ tests/ plugins/
|
run: ruff check src/ tests/ plugins/
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: linux:host
|
runs-on: linux
|
||||||
needs: [lint]
|
needs: [lint]
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -47,7 +47,7 @@ jobs:
|
|||||||
run: pytest -v
|
run: pytest -v
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: linux:host
|
runs-on: linux
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||||
needs: [gitleaks, test]
|
needs: [gitleaks, test]
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user