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