libretime/.github/workflows/project.yml

42 lines
937 B
YAML
Raw Permalink Normal View History

name: Project
on:
2023-02-27 12:34:17 +01:00
workflow_dispatch:
push:
branches: [main, stable-*]
pull_request:
types: [opened, reopened, synchronize, edited]
branches: [main, stable-*]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2023-02-24 13:38:21 +01:00
- uses: actions/setup-python@v5
2022-06-09 09:50:36 +02:00
with:
python-version: "3.x"
2022-09-01 19:31:33 +02:00
- uses: actions/cache@v4
2022-09-01 19:31:33 +02:00
with:
path: ~/.cache/pip
key: ${{ runner.os }}-project-pre-commit-pip-${{ hashFiles('.pre-commit-config.yaml') }}
restore-keys: |
${{ runner.os }}-project-pre-commit-pip
chore(deps): update pre-commit/action action to v3.0.1 (#2948) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [pre-commit/action](https://togithub.com/pre-commit/action) | action | patch | `v3.0.0` -> `v3.0.1` | --- ### Release Notes <details> <summary>pre-commit/action (pre-commit/action)</summary> ### [`v3.0.1`](https://togithub.com/pre-commit/action/releases/tag/v3.0.1): pre-commit/action@v3.0.1 [Compare Source](https://togithub.com/pre-commit/action/compare/v3.0.0...v3.0.1) ##### Misc - Update actions/cache to v4 - [#&#8203;190](https://togithub.com/pre-commit/action/issues/190) PR by [@&#8203;SukiCZ](https://togithub.com/SukiCZ). - [#&#8203;189](https://togithub.com/pre-commit/action/issues/189) issue by [@&#8203;bakerkj](https://togithub.com/bakerkj). </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/libretime/libretime). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-10 00:37:02 +01:00
- uses: pre-commit/action@v3.0.1
test-tools:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
2022-06-09 09:50:36 +02:00
with:
python-version: "3.x"
- run: make all
working-directory: tools