From 95ff5ea372c5099efb7a38151f8aef8fee435c47 Mon Sep 17 00:00:00 2001 From: jacobi petrucciani Date: Tue, 17 Oct 2023 09:53:35 -0400 Subject: [PATCH] update invocation of ruff to use new output-format option, update actions, update base image --- .github/workflows/tag.yml | 2 +- .github/workflows/update.yml | 2 +- Dockerfile | 2 +- entrypoint.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 0c09a9a..3bd6f3f 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -8,7 +8,7 @@ jobs: name: tag runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.0 with: token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - id: var diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 55edd77..a1e2e96 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -7,7 +7,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4.1.0 - name: setup python uses: actions/setup-python@v2 with: diff --git a/Dockerfile b/Dockerfile index 7d81e63..8b45728 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10.9-alpine +FROM python:3.11.6-alpine LABEL "maintainer"="Jacobi Petrucciani " diff --git a/entrypoint.sh b/entrypoint.sh index 5c55124..fff5320 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,4 +4,4 @@ set -eax ruff --version # shellcheck disable=2086 -ruff --format "$3" $2 $1 +ruff check --output-format "$3" $2 $1