-
Notifications
You must be signed in to change notification settings - Fork 1
29 lines (29 loc) · 871 Bytes
/
test.yml
File metadata and controls
29 lines (29 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Test
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
- name: Run pre-commit
run: |
pip install pre-commit
pre-commit run --all-files
- name: Test action
uses: Scientific-Python-Translations/clean-up@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Provided by user
translations-repo: "Scientific-Python-Translations/clean-up"
translations-ref: "main"
# Provided by organization secrets
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
token: "not-a-real-token"
crowdin-token: ${{ secrets.CROWDIN_TOKEN }}