-
-
Notifications
You must be signed in to change notification settings - Fork 4
49 lines (44 loc) · 1.55 KB
/
pr.yml
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
47
48
49
name: PR
on: pull_request
concurrency:
group: pr-${{ github.ref }}
cancel-in-progress: true
jobs:
superlinter:
name: Lint bash, docker, markdown, and yaml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Lint codebase
uses: docker://github/super-linter:v3.8.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: true
VALIDATE_BASH: true
VALIDATE_DOCKERFILE: true
VALIDATE_MD: true
VALIDATE_YAML: true
linux:
name: Verify PR builds on Linux with most recent ponyc nightly
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/pony-sync-helper-ci-builder:release
steps:
- uses: actions/checkout@v3
- name: Builds with the most recent ponyc nightly
run: |
corral fetch
corral run -- ponyc -Dopenssl_0.9.0
lint-post-good-first-issues:
name: Verify that post-good-first-issues.py passes linting checks
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/pony-sync-helper-ci-good-first-issues:release
steps:
- uses: actions/checkout@v3
- name: Build docker image
run: |
docker build --pull --build-arg FROM_TAG="alpine" -t "ghcr.io/ponylang/pony-sync-helper-ci-good-first-issues:latest" .ci-dockerfiles/good-first-issues
- name: Lint post-good-first-issues.py
run: |
docker run --entrypoint pylint --rm "ghcr.io/ponylang/pony-sync-helper-ci-good-first-issues:latest" /post-good-first-issues.py