-
Notifications
You must be signed in to change notification settings - Fork 3
46 lines (43 loc) · 1.23 KB
/
ci.yaml
File metadata and controls
46 lines (43 loc) · 1.23 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: CI
on:
pull_request: {}
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: open-turo/actions-gha/lint@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
semantic-release-extra-plugins: |
@open-turo/semantic-release-config
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: open-turo/actions-gha/test@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# lint-oss tries to run this action against open source repositories not in
# open-turo to make sure this is usable outside the org.
# Repositories added to this list should have pre-commit hooks that don't
# require external tooling to be installed.
# Repositories added to this list must have passing pre-commit hooks.
lint-oss:
name: Lint / Open source
runs-on: ubuntu-latest
strategy:
matrix:
repos:
- pallets/flask
steps:
- uses: actions/checkout@v4
with:
repository: ${{ matrix.repos }}
- uses: actions/checkout@v4
with:
path: actions-python
- uses: ./actions-python/lint
with:
checkout-repo: false
github-token: ${{ secrets.GITHUB_TOKEN }}