Skip to content

Commit e82bad5

Browse files
authored
Replace cmplopes/alpine-freepascal with primeimages/freepascal (#4)
1 parent ee81f2d commit e82bad5

25 files changed

Lines changed: 294 additions & 193 deletions

.github/FUNDING.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
2-
custom: ['https://en.cryptobadges.io/donate/145HwyQAcv4vrzUumJhu7nWGAVBysX9jJH']
3-
github: ['fabasoad']
4-
issuehunt: fabasoad
2+
custom: ["https://en.cryptobadges.io/donate/145HwyQAcv4vrzUumJhu7nWGAVBysX9jJH"]
3+
github: ["fabasoad"]
54
ko_fi: fabasoad
65
liberapay: fabasoad
7-
open_collective: fabasoad
Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,37 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: ''
4+
title: ""
55
labels: bug
66
assignees: fabasoad
7-
87
---
98

10-
## Describe the bug
9+
#### Describe the bug
1110

1211
A clear and concise description of what the bug is.
1312

14-
## Steps to Reproduce
13+
#### Steps to Reproduce
1514

1615
1. Run '...'
1716
2. See error
1817

19-
## Expected behavior
18+
#### Expected behavior
2019

2120
A clear and concise description of what you expected to happen.
2221

23-
## Actual behavior
22+
#### Actual behavior
2423

2524
A clear and concise description of what is happening now.
2625

27-
## Screenshots
26+
#### Screenshots
2827

2928
If applicable, add screenshots to help explain your problem.
3029

31-
## Technical information (please complete the following information)
30+
#### Technical information (please complete the following information)
3231

3332
- OS: [e.g. Windows 10 Enterprise v.1909 (OS Build 18363.720)]
3433
- `pascal-action` version [e.g. 1.0.2]
3534

36-
## Additional context
35+
#### Additional context
3736

3837
Add any other context about the problem here.
Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ''
4+
title: ""
55
labels: enhancement
66
assignees: fabasoad
7-
87
---
98

10-
**Is your feature request related to a problem? Please describe.**
11-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9+
#### Is your feature request related to a problem? Please describe
10+
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated
12+
when [...]
13+
14+
#### Describe the solution you'd like
1215

13-
**Describe the solution you'd like**
1416
A clear and concise description of what you want to happen.
1517

16-
**Describe alternatives you've considered**
17-
A clear and concise description of any alternative solutions or features you've considered.
18+
#### Describe alternatives you've considered
19+
20+
A clear and concise description of any alternative solutions or features you've
21+
considered.
22+
23+
#### Additional context
1824

19-
**Additional context**
2025
Add any other context or screenshots about the feature request here.

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "monthly"
8+
reviewers:
9+
- "fabasoad"
10+
labels:
11+
- "dependencies"

.github/pull_request_template.md

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
<!-- markdownlint-disable-file MD041 -->
22

3-
Closes #{IssueNumber}
4-
53
## Pull request checklist
64

75
Please check if your PR fulfills the following requirements:
86

9-
- [ ] I have read the [CONTRIBUTING](https://github.com/fabasoad/pascal-action/CONTRIBUTING.md) doc.
7+
- [ ] I have read the [CONTRIBUTING](https://github.com/fabasoad/setup-piet-action/blob/main/CONTRIBUTING.md)
8+
doc.
109
- [ ] Tests for the changes have been added (for bug fixes / features).
1110
- [ ] Docs have been reviewed and added / updated if needed (for bug fixes / features).
12-
- [ ] Functionality was run locally and any fixes were made for failures.
1311

1412
## Pull request type
1513

1614
<!-- Please do not submit updates to dependencies unless it fixes an issue. -->
1715

18-
<!-- Please try to limit your pull request to one type, submit multiple pull requests if needed. -->
16+
<!-- Please try to limit your pull request to one type, submit multiple pull
17+
requests if needed. -->
1918

2019
Please check the type of change your PR introduces:
2120

@@ -27,24 +26,34 @@ Please check the type of change your PR introduces:
2726
- [ ] Documentation content changes
2827
- [ ] Other (please describe):
2928

30-
## What is the current behavior?
31-
<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. -->
29+
## What is the current behavior
30+
31+
<!-- Please describe the current behavior that you are modifying, or link to a
32+
relevant issue. -->
33+
34+
## What is the new behavior
3235

33-
## What is the new behavior?
3436
<!-- Please describe the behavior or changes that are being added by this PR. -->
3537

3638
-
3739
-
3840
-
3941

40-
## Does this introduce a breaking change?
42+
## Does this introduce a breaking change
4143

4244
- [ ] Yes
4345
- [ ] No
4446

45-
<!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. -->
47+
<!-- If this introduces a breaking change, please describe the impact and
48+
migration path for existing applications below. -->
4649

4750
## Other information
4851

49-
<!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
50-
<!-- This document was adapted from the open-source [appium/appium](https://github.com/appium/appium/blob/master/.github/PULL_REQUEST_TEMPLATE.md) repository. -->
52+
<!-- Any other information that is important to this PR such as screenshots of
53+
how the component looks before and after the change. -->
54+
<!-- This document was adapted from the open-source [appium/appium](https://github.com/appium/appium/blob/master/.github/PULL_REQUEST_TEMPLATE.md)
55+
repository. -->
56+
57+
---
58+
59+
Closes #{IssueNumber}

.github/workflows/create-release.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/workflows/functional-tests.yml renamed to .github/workflows/functional-tests-local.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
---
2-
name: Functional tests
2+
name: Functional tests (Local)
33

4-
on:
4+
on: # yamllint disable-line rule:truthy
55
push:
66
branches:
7-
- main
8-
- 'bugfix/**'
9-
- 'feature/**'
7+
- "main"
8+
pull_request:
109

1110
jobs:
1211
functional_tests:
1312
name: Functional tests
1413
timeout-minutes: 5
1514
runs-on: ubuntu-latest
1615
steps:
17-
- uses: actions/checkout@v2.3.4
16+
- uses: actions/checkout@v3
1817
- uses: ./
1918
id: pascal
2019
with:

.github/workflows/ci-lastest.yml renamed to .github/workflows/functional-tests-remote.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
---
2-
name: CI (latest)
2+
name: Functional tests (Remote)
33

4-
on:
4+
on: # yamllint disable-line rule:truthy
55
push:
6-
tags:
7-
- 'v*.*.*'
6+
branches:
7+
- "main"
88

99
jobs:
10-
functional_tests:
10+
functional-tests:
1111
name: Functional tests
1212
timeout-minutes: 5
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2.3.4
16-
with:
17-
ref: ${{ github.ref }}
15+
- uses: actions/checkout@v3
1816
- uses: fabasoad/pascal-action@main
1917
id: pascal
2018
with:

.github/workflows/linter.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/pre-commit.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
name: Pre-commit
3+
4+
on: # yamllint disable-line rule:truthy
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
10+
defaults:
11+
run:
12+
shell: sh
13+
14+
env:
15+
SKIP: no-commit-to-branch
16+
17+
jobs:
18+
pre-commit:
19+
runs-on: ubuntu-latest
20+
container:
21+
image: ghcr.io/fabasoad/pre-commit-container:latest
22+
options: --user root
23+
steps:
24+
- uses: actions/checkout@v3
25+
with:
26+
fetch-depth: 0
27+
- name: Update git config
28+
run: |
29+
repo=$(echo "${{ github.repository }}" | cut -d "/" -f 2)
30+
git config --global --add safe.directory "/__w/$repo/$repo"
31+
- name: Run pre-commit on changed files
32+
if: ${{ github.event_name == 'pull_request' }}
33+
run: |
34+
pre-commit run --to-ref ${{ github.sha }} --from-ref origin/${{ github.base_ref }} --hook-stage=commit
35+
pre-commit run --to-ref ${{ github.sha }} --from-ref origin/${{ github.base_ref }} --hook-stage=push
36+
- name: Run pre-commit on all files
37+
if: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
38+
run: |
39+
pre-commit run --hook-stage=commit --all-files
40+
pre-commit run --hook-stage=push --all-files

0 commit comments

Comments
 (0)