Skip to content

Commit 88f1992

Browse files
chore(#1): add pipelines
1 parent 95bbb47 commit 88f1992

File tree

12 files changed

+317
-0
lines changed

12 files changed

+317
-0
lines changed

.github/typos.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com
2+
# SPDX-License-Identifier: MIT
3+
4+
[default]
5+
extend-ignore-identifiers-re = [
6+
"Olt*", # false positive
7+
"Onot", # false positive
8+
"BA", # false positive
9+
"thi", # false positive
10+
"lowcase", # false positive
11+
"[D,d]atas*", # valid variable names
12+
"thr", # valid variable name
13+
"cutted", # valid variable name
14+
"splitted", # valid variable name
15+
"scrpt", # valid variable name
16+
"fle" # valid variable name
17+
]

.github/workflows/codecov.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com
2+
# SPDX-License-Identifier: MIT
3+
---
4+
# yamllint disable rule:line-length
5+
name: codecov
6+
'on':
7+
push:
8+
branches:
9+
- master
10+
concurrency:
11+
group: codecov-${{ github.ref }}
12+
cancel-in-progress: true
13+
jobs:
14+
codecov:
15+
timeout-minutes: 15
16+
runs-on: ubuntu-24.04
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: teatimeguest/[email protected]
20+
with:
21+
update-all-packages: true
22+
packages: scheme-basic geometry xcolor naive-ebnf microtype etoolbox
23+
- uses: actions/setup-java@v4
24+
with:
25+
distribution: 'temurin'
26+
java-version: 20
27+
- uses: actions/cache@v4
28+
with:
29+
path: ~/.m2/repository
30+
key: maven-${{ hashFiles('**/pom.xml') }}
31+
restore-keys: |
32+
maven-
33+
- run: mvn install -Pjacoco
34+
- uses: codecov/codecov-action@v5
35+
with:
36+
token: ${{ secrets.CODECOV_TOKEN }}
37+
files: ./target/site/jacoco/jacoco.xml
38+
fail_ci_if_error: true
39+
if: github.ref == 'refs/heads/master'

.github/workflows/copyrights.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com
2+
# SPDX-License-Identifier: MIT
3+
---
4+
# yamllint disable rule:line-length
5+
name: copyrights
6+
'on':
7+
push:
8+
branches:
9+
- master
10+
pull_request:
11+
branches:
12+
- master
13+
jobs:
14+
copyrights:
15+
timeout-minutes: 15
16+
runs-on: ubuntu-24.04
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: yegor256/[email protected]
20+
with:
21+
globs: >-
22+
**/LICENSE.txt
23+
**/*.sh
24+
**/*.yml
25+
**/*.yaml
26+
**/*.eo
27+
**/*.xmir
28+
**/*.xml
29+
**/*.xsl
30+
**/*.xsd
31+
**/*.ini
32+
**/*.java
33+
**/*.g4
34+
**/*.properties
35+
**/*.toml
36+
**/*.groovy
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com
2+
# SPDX-License-Identifier: MIT
3+
---
4+
# yamllint disable rule:line-length
5+
name: markdown-lint
6+
'on':
7+
push:
8+
branches:
9+
- master
10+
pull_request:
11+
branches:
12+
- master
13+
jobs:
14+
markdown-lint:
15+
timeout-minutes: 15
16+
runs-on: ubuntu-24.04
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: articulate/actions-markdownlint@v1

.github/workflows/mvn.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com
2+
# SPDX-License-Identifier: MIT
3+
---
4+
# yamllint disable rule:line-length
5+
name: mvn
6+
'on':
7+
push:
8+
branches:
9+
- master
10+
pull_request:
11+
branches:
12+
- master
13+
jobs:
14+
mvn:
15+
strategy:
16+
matrix:
17+
os: [ ubuntu-24.04, windows-2022, macos-15 ]
18+
java: [ 11, 23 ]
19+
exclude:
20+
- os: windows-2022
21+
java: 11
22+
- os: macos-15
23+
java: 11
24+
runs-on: ${{ matrix.os }}
25+
env:
26+
CONVERT_PATH: /tmp/antlr4-to-bnf-converter
27+
steps:
28+
- uses: actions/checkout@v4
29+
- uses: actions/setup-java@v4
30+
with:
31+
distribution: 'temurin'
32+
java-version: ${{ matrix.java }}
33+
- uses: actions/cache@v4
34+
with:
35+
path: ~/.m2/repository
36+
key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }}
37+
restore-keys: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-
38+
- uses: JesseTG/[email protected]
39+
with:
40+
path: ~/.m2/repository/org/eolang
41+
- run: mvn clean install --errors --batch-mode

.github/workflows/ort.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com
2+
# SPDX-License-Identifier: MIT
3+
---
4+
# yamllint disable rule:line-length
5+
name: ort
6+
'on':
7+
push:
8+
branches:
9+
- master
10+
pull_request:
11+
branches:
12+
- master
13+
jobs:
14+
ort:
15+
timeout-minutes: 15
16+
runs-on: ubuntu-24.04
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: oss-review-toolkit/ort-ci-github-action@v1

.github/workflows/pdd.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com
2+
# SPDX-License-Identifier: MIT
3+
---
4+
# yamllint disable rule:line-length
5+
name: pdd
6+
'on':
7+
push:
8+
branches:
9+
- master
10+
pull_request:
11+
branches:
12+
- master
13+
jobs:
14+
pdd:
15+
timeout-minutes: 15
16+
runs-on: ubuntu-24.04
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: volodya-lombrozo/pdd-action@master

.github/workflows/qulice.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com
2+
# SPDX-License-Identifier: MIT
3+
---
4+
# yamllint disable rule:line-length
5+
name: qulice
6+
'on':
7+
push:
8+
branches:
9+
- master
10+
pull_request:
11+
branches:
12+
- master
13+
jobs:
14+
qulice:
15+
timeout-minutes: 15
16+
runs-on: ubuntu-24.04
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-java@v4
20+
with:
21+
distribution: 'temurin'
22+
java-version: 21
23+
- uses: actions/cache@v4
24+
with:
25+
path: ~/.m2/repository
26+
key: ubuntu-qulice-jdk-21-maven-${{ hashFiles('**/pom.xml') }}
27+
restore-keys: ubuntu-qulice-jdk-21-maven-
28+
- run: mvn clean verify -PskipTests -Pqulice --errors --batch-mode

.github/workflows/typos.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com
2+
# SPDX-License-Identifier: MIT
3+
---
4+
5+
name: typos
6+
'on':
7+
push:
8+
branches:
9+
- master
10+
pull_request:
11+
branches:
12+
- master
13+
jobs:
14+
typos:
15+
timeout-minutes: 15
16+
runs-on: ubuntu-24.04
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: crate-ci/typos@master
20+
with:
21+
config: ./.github/typos.toml

.github/workflows/up.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com
2+
# SPDX-License-Identifier: MIT
3+
---
4+
# yamllint disable rule:line-length
5+
name: up
6+
'on':
7+
push:
8+
branches:
9+
- master
10+
tags:
11+
- '*'
12+
concurrency:
13+
group: up-${{ github.ref }}
14+
cancel-in-progress: true
15+
jobs:
16+
up:
17+
timeout-minutes: 15
18+
runs-on: ubuntu-24.04
19+
steps:
20+
- uses: actions/checkout@v4
21+
- run: |-
22+
git fetch --tags --force && \
23+
latest=$(git tag --sort=creatordate | tail -1) && \
24+
export latest && \
25+
sed -E -i "s/<version>[^<]+/<version>${latest}/g" eo-maven-plugin/README.md
26+
- uses: peter-evans/create-pull-request@v7
27+
with:
28+
branch: version-up
29+
commit-message: 'new version ${{ env.version }} in README'
30+
delete-branch: true
31+
title: 'New version ${{ env.version }} in README'
32+
assignees: yegor256
33+
base: master

0 commit comments

Comments
 (0)