Skip to content

Commit

Permalink
fix(ci): rye run sync regardless of cache hit; remove old codeql work…
Browse files Browse the repository at this point in the history
…flow
  • Loading branch information
MichaelSasser committed Oct 10, 2024
1 parent 84cad34 commit 9e1fb0c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 78 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name: Python CI
on:
push:
branches: ["main"]
paths-ignore: ["**/*.md"]
paths-ignore: ["*.md"]
pull_request:
branches: ["main"]
workflow_dispatch:
Expand All @@ -46,8 +46,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Project Dependencies
run: rye sync --all-features
if: steps.setup-rye.outputs.cache-hit != 'true'
run: rye sync --all-features --no-lock

- name: Run pre-commit
run: |
Expand Down
71 changes: 0 additions & 71 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ jobs:
version: "0.41.0"

- name: Install Project Dependencies
run: rye sync --all-features
if: steps.setup-rye.outputs.cache-hit != 'true'
run: rye sync --all-features --no-lock

- name: Make docs
working-directory: ${{env.working-directory}}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Project Dependencies
run: rye sync --all-features
if: steps.setup-rye.outputs.cache-hit != 'true'
run: rye sync --all-features --no-lock

- name: Build project
run: rye build --all --clean
Expand Down

0 comments on commit 9e1fb0c

Please sign in to comment.