Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 3d73d93

Browse files
committed
feat: Use composite workflow
1 parent 1601a09 commit 3d73d93

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
# Checks-out your repository under $GITHUB_WORKSPACE, so that annotate_pr_with_ruff can access it.
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
17+
- uses: actions/setup-python@v4
18+
with:
19+
python-version: '3.10'
20+
- name: Install ruff from PyPI
21+
uses: install-pinned/[email protected] # <-- Choose a release version
1722
- name: PR annotator with ruff
1823
uses: EnriqueSoria/[email protected] # <-- Choose a release version
1924
env:

action.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ name: 'PR annotator with ruff'
22
description: 'Annotate pull requests with ruff linter'
33
author: 'Enrique Soria'
44

5+
runs-on: ubuntu-latest
56
runs:
6-
using: 'docker'
7-
image: 'Dockerfile'
7+
steps:
8+
- run: python -m annotate_pr_with_ruff
9+
shell: bash
810

911
branding:
1012
icon: git-pull-request

0 commit comments

Comments
 (0)