Skip to content

Commit

Permalink
simplifying .github connection
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Feb 2, 2025
1 parent 7ca403b commit a6c2502
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 28 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4

- uses: cvxgrp/.github/actions/uv/[email protected]
- uses: cvxgrp/.github/actions/uv/[email protected]
with:
python-version: ${{ matrix.python-version }}
tests-folder: src/tests
29 changes: 6 additions & 23 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,37 +7,20 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4

- uses: cvxgrp/.github/actions/uv/[email protected]
with:
source-folder: src/cvx
tests-folder: src/tests

- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2
- uses: cvxgrp/.github/actions/uv/[email protected]
with:
files: artifacts/tests/coverage/coverage.info
format: lcov
source-folder: 'src/cvx'
tests-folder: 'src/tests'

deptry:
runs-on: ubuntu-latest
steps:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4

- uses: cvxgrp/.github/actions/uv/[email protected]
- uses: cvxgrp/.github/actions/uv/[email protected]
with:
source-folder: src/cvx
source-folder: 'src/cvx'


pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4

- uses: pre-commit/[email protected]
with:
extra_args: '--verbose --all-files'
- uses: cvxgrp/.github/actions/uv/[email protected]
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:

steps:
- name: Generate Tag
uses: cvxgrp/.github/actions/uv/[email protected].12
uses: cvxgrp/.github/actions/uv/[email protected].15
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a6c2502

Please sign in to comment.