Skip to content

Commit

Permalink
Cleanup CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
j4ckofalltrades committed Mar 17, 2024
1 parent e6a17a9 commit e9a71b8
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 18 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@ name: "CI"

permissions: "read-all"

on:
push:
branches:
- "main"
pull_request:
workflow_dispatch:
on: [push, pull_request, workflow_dispatch]

defaults:
run:
Expand All @@ -17,6 +12,15 @@ env:
FORCE_COLOR: "1"

jobs:
ruff:
name: "Lint"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- uses: "chartboost/ruff-action@v1"
with:
src: "./src"

test:
strategy:
fail-fast: false
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: "Codecov"

on: [push]
on:
push:
branches:
- "main"

jobs:
coverage:
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/ruff.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ fail_fast: true

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.2
rev: v0.3.3
hooks:
- id: ruff
files: src
Expand Down

0 comments on commit e9a71b8

Please sign in to comment.