ci-no-merges-in-branches #3
1 changed files with 7 additions and 1 deletions
|
|
@ -43,6 +43,12 @@ jobs:
|
|||
steps:
|
||||
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0 # Fetch all branches with their history for the next step
|
||||
|
||||
- name: Ensure feature branches contain no merge commits
|
||||
if: forgejo.ref_name != 'develop' && forgejo.ref_name != 'main'
|
||||
run: "! git rev-list --merges origin/develop..HEAD | grep ."
|
||||
|
||||
- name: Install R via system packages
|
||||
run: |
|
||||
|
|
@ -57,7 +63,7 @@ jobs:
|
|||
- name: Install `uv` and `python3.13`
|
||||
run: |
|
||||
curl -LsSf https://astral.sh/uv/0.13.10/install.sh | sh
|
||||
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||
echo "$HOME/.local/bin" >> "$FORGEJO_PATH"
|
||||
"$HOME/.local/bin/uv" python install 3.13
|
||||
|
||||
- name: Install `velofy` and its dependencies
|
||||
|
|
|
|||
Loading…
Reference in a new issue