aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitea/workflows/ci.yaml14
-rw-r--r--.gitea/workflows/git-sync.yaml4
2 files changed, 11 insertions, 7 deletions
diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml
index d27f068..77f89a6 100644
--- a/.gitea/workflows/ci.yaml
+++ b/.gitea/workflows/ci.yaml
@@ -1,18 +1,22 @@
name: CI
-on: [push, pull_request]
+on:
+ push:
+ branches: [master]
+ pull_request:
+ branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
- uses: actions/checkout@v4
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python
- uses: actions/setup-python@v5
+ uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
- python-version: 3.11
+ python-version: "3.11"
- name: Install dependencies
run: |
@@ -20,4 +24,4 @@ jobs:
pip install -r requirements-dev.txt
- name: Run tests
- run: pytest
+ run: pytest -v
diff --git a/.gitea/workflows/git-sync.yaml b/.gitea/workflows/git-sync.yaml
index 706df7e..f1028c5 100644
--- a/.gitea/workflows/git-sync.yaml
+++ b/.gitea/workflows/git-sync.yaml
@@ -15,7 +15,7 @@ jobs:
git_sync_source_repo: git@git.fridu.us:heckyel/yt-local.git
git_sync_destination_repo: ssh://git@c.fridu.us/software/yt-local.git
if: env.git_sync_source_repo && env.git_sync_destination_repo
- uses: astounds/git-sync@v1
+ uses: actions/git-sync@v1
with:
source_repo: git@git.fridu.us:heckyel/yt-local.git
source_branch: "master"
@@ -29,7 +29,7 @@ jobs:
git_sync_source_repo: git@git.fridu.us:heckyel/yt-local.git
git_sync_destination_repo: git@git.sr.ht:~heckyel/yt-local
if: env.git_sync_source_repo && env.git_sync_destination_repo
- uses: astounds/git-sync@v1
+ uses: actions/git-sync@v1
with:
source_repo: git@git.fridu.us:heckyel/yt-local.git
source_branch: "master"