Skip to content

Commit

Permalink
Simplify GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Arellano committed Aug 1, 2024
1 parent 0ee89db commit d997a03
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
name: CI Pipeline

on:
pull_request:
types: [opened, reopened, edited, ready_for_review, synchronize]
on: [pull_request]

jobs:
run-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
ref: ${{ github.ref }}
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0

- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand All @@ -38,14 +29,7 @@ jobs:
python-version: [3.11, 3.8]

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
ref: ${{ github.ref }}
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0

- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit d997a03

Please sign in to comment.