Delete duplicate workflows; update Docker publish cache host
Some checks failed
Build Docker Image / docker (push) Failing after 12m47s
Some checks failed
Build Docker Image / docker (push) Failing after 12m47s
This commit is contained in:
@ -1,19 +0,0 @@
|
|||||||
name: Docker Build Check
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- 'Dockerfile'
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- 'Dockerfile'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
docker-check:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Run Docker Build Check
|
|
||||||
run: docker build --check .
|
|
@ -12,7 +12,7 @@ on:
|
|||||||
cache:
|
cache:
|
||||||
enabled: true
|
enabled: true
|
||||||
dir: ""
|
dir: ""
|
||||||
host: "192.168.1.127"
|
host: "gitea_act_runner"
|
||||||
port: 8088
|
port: 8088
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -63,6 +63,8 @@ jobs:
|
|||||||
|
|
||||||
# Check if the Python code needs formatting
|
# Check if the Python code needs formatting
|
||||||
- run: ruff format --check --verbose
|
- run: ruff format --check --verbose
|
||||||
|
|
||||||
|
# Lint Dockerfile
|
||||||
- run: docker build --check .
|
- run: docker build --check .
|
||||||
|
|
||||||
# Extract metadata (tags, labels) from Git reference and GitHub events for Docker
|
# Extract metadata (tags, labels) from Git reference and GitHub events for Docker
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
name: Ruff
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
pull_request:
|
|
||||||
workflow_dispatch:
|
|
||||||
schedule:
|
|
||||||
- cron: '0 0 * * *' # Run every day at midnight
|
|
||||||
|
|
||||||
env:
|
|
||||||
RUFF_OUTPUT_FORMAT: github
|
|
||||||
jobs:
|
|
||||||
ruff:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: astral-sh/ruff-action@v3
|
|
||||||
- run: ruff check --exit-non-zero-on-fix --verbose
|
|
||||||
- run: ruff format --check --verbose
|
|
Reference in New Issue
Block a user