From 6ce2774db7457b9f1d9d95e7cb8e516dcc6b0549 Mon Sep 17 00:00:00 2001 From: Erick Navarro Date: Tue, 21 May 2024 20:30:28 -0600 Subject: [PATCH] fix CI --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01c2a95..5cf9cd8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,3 +1,4 @@ +--- name: CI on: push @@ -5,12 +6,13 @@ on: push jobs: run-linters: runs-on: ubuntu-latest + container: python:3.12-alpine steps: - name: Check out the repo uses: actions/checkout@v3 - - name: Install shellcheck - run: sudo apt update && sudo apt install shellcheck --yes - - - name: Run shellcheck - run: shellcheck entrypoint.sh + - name: Run linter and formatter with ruff + run: | + pip install ruff + ruff format --check . + ruff check --output-format github .