Skip to content

Commit

Permalink
Clean up workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
TheReverend403 committed Dec 26, 2023
1 parent 036a985 commit 31d791c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create and publish a Docker image
name: Build and publish Docker image

on:
push:
Expand All @@ -23,12 +23,10 @@ jobs:
permissions:
contents: read
packages: write

steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: Log in to the Container registry
- name: Log in to the container registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Lint with pre-commit
name: Lint

on: [workflow_call]

env:
RUFF_OUTPUT_FORMAT: "github"
RUFF_NO_CACHE: true

jobs:
lint:
runs-on: ubuntu-latest
Expand All @@ -28,7 +31,7 @@ jobs:
key: poetry-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
restore-keys: poetry-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}

- name: Install Dependencies
- name: Install dependencies
run: poetry install
if: steps.cache.outputs.cache-hit != 'true'

Expand Down

0 comments on commit 31d791c

Please sign in to comment.