Skip to content

Commit c2c6c3a

Browse files
committed
Fix pony-lint findings for ponyc 0.69.0
1 parent 48d65c5 commit c2c6c3a

5 files changed

Lines changed: 34 additions & 5 deletions

File tree

.github/workflows/breakage-against-ponyc-latest.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,27 @@ permissions:
88
packages: read
99

1010
jobs:
11+
pony-lint:
12+
name: Lint against ponyc main
13+
runs-on: ubuntu-latest
14+
container:
15+
image: ghcr.io/ponylang/shared-docker-ci-standard-builder-with-pcre:nightly
16+
steps:
17+
- uses: actions/checkout@v6.0.2
18+
- name: Lint
19+
run: make lint
20+
- name: Send alert on failure
21+
if: ${{ failure() }}
22+
uses: zulip/github-actions-zulip/send-message@bd8ec52de371d139ae8313661b7d8318c19266aa
23+
with:
24+
api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }}
25+
email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }}
26+
organization-url: 'https://ponylang.zulipchat.com/'
27+
to: notifications
28+
type: stream
29+
topic: ${{ github.repository }} scheduled job failure
30+
content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed.
31+
1132
vs-ponyc-latest:
1233
name: Test against ponyc main
1334
runs-on: ubuntu-latest

.github/workflows/pony-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
name: Lint Pony source
1818
runs-on: ubuntu-latest
1919
container:
20-
image: ghcr.io/ponylang/shared-docker-ci-standard-builder:release
20+
image: ghcr.io/ponylang/shared-docker-ci-standard-builder:nightly
2121
steps:
2222
- uses: actions/checkout@v6.0.2
2323
- name: Lint

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ permissions:
1818

1919
jobs:
2020
vs-ponyc-release:
21-
name: Test against recent ponyc release
21+
name: Test against recent ponyc nightly
2222
runs-on: ubuntu-latest
2323
container:
24-
image: ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-pcre:release
24+
image: ghcr.io/ponylang/shared-docker-ci-standard-builder-with-pcre:nightly
2525
steps:
2626
- uses: actions/checkout@v6.0.2
2727
- name: Test

examples/simple-example/main.pony

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ use "../../glob"
55
actor Main
66
new create(env: Env) =>
77
env.out.print(
8-
"we need at least 1 example. this one does nothing yet. "
9-
+ "want to contribute one?")
8+
"we need at least 1 example. this one does nothing yet. " +
9+
"want to contribute one?")

lock.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"locks": [
3+
{
4+
"locator": "github.com/ponylang/regex.git",
5+
"revision": "1.1.6"
6+
}
7+
]
8+
}

0 commit comments

Comments
 (0)