ci: try array syntax runs-on
ci / ruff lint (push) Failing after 29s
ci / mypy mcp_common (push) Failing after 27s
ci / pytest (push) Failing after 29s
ci / validate compose + Caddyfile (push) Failing after 34s
ci / build & push to registry (push) Has been skipped

This commit is contained in:
AdrianoDev
2026-04-28 23:23:51 +02:00
parent 05b431c9c1
commit eec1c11cb3
+5 -5
View File
@@ -13,7 +13,7 @@ env:
jobs: jobs:
lint: lint:
name: ruff lint name: ruff lint
runs-on: ubuntu-22.04 runs-on: [ubuntu-22.04]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install uv - name: Install uv
@@ -32,7 +32,7 @@ jobs:
typecheck: typecheck:
name: mypy mcp_common name: mypy mcp_common
runs-on: ubuntu-22.04 runs-on: [ubuntu-22.04]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install uv - name: Install uv
@@ -51,7 +51,7 @@ jobs:
test: test:
name: pytest name: pytest
runs-on: ubuntu-22.04 runs-on: [ubuntu-22.04]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install uv - name: Install uv
@@ -68,7 +68,7 @@ jobs:
validate-config: validate-config:
name: validate compose + Caddyfile name: validate compose + Caddyfile
runs-on: ubuntu-22.04 runs-on: [ubuntu-22.04]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -103,7 +103,7 @@ jobs:
build-and-push: build-and-push:
name: build & push to registry name: build & push to registry
runs-on: ubuntu-22.04 runs-on: [ubuntu-22.04]
needs: [lint, test, validate-config] needs: [lint, test, validate-config]
if: github.event_name == 'push' && github.ref == 'refs/heads/main' if: github.event_name == 'push' && github.ref == 'refs/heads/main'
permissions: permissions: