Skip to content

Commit 7c0e01f

Browse files
authored
Merge pull request #108 from yetanalytics/update-runtimer
Update runtimer and other actions
2 parents ab1d462 + dd11969 commit 7c0e01f

File tree

4 files changed

+27
-26
lines changed

4 files changed

+27
-26
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,20 @@ on:
66
- '*'
77
tags:
88
- 'v*'
9-
pull_request:
10-
branches:
11-
- 'main'
129

1310
jobs:
1411
test:
1512
runs-on: ubuntu-latest
1613
timeout-minutes: 10
1714
steps:
1815
- name: Checkout project
19-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
2017

2118
- name: Get an env
22-
uses: yetanalytics/actions/setup-env@v0.0.4
19+
uses: yetanalytics/action-setup-env@v2
2320

2421
- name: Cache Deps
25-
uses: actions/cache@v3
22+
uses: actions/cache@v4
2623
with:
2724
path: |
2825
~/.m2
@@ -49,13 +46,13 @@ jobs:
4946
timeout-minutes: 10
5047
steps:
5148
- name: Checkout project
52-
uses: actions/checkout@v3
49+
uses: actions/checkout@v4
5350

5451
- name: Get an env
55-
uses: yetanalytics/actions/setup-env@v0.0.4
52+
uses: yetanalytics/action-setup-env@v2
5653

5754
- name: Cache Deps
58-
uses: actions/cache@v3
55+
uses: actions/cache@v4
5956
with:
6057
path: |
6158
~/.m2

.github/workflows/deps.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,20 @@ on:
44
push:
55
branches:
66
- '*'
7+
78
jobs:
89
deps:
910
runs-on: ubuntu-latest
1011
timeout-minutes: 10
1112
steps:
1213
- name: Checkout project
13-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1415

1516
- name: Setup CI Environment
16-
uses: yetanalytics/action-setup-env@v1
17+
uses: yetanalytics/action-setup-env@v2
1718

1819
- name: Cache Deps
19-
uses: actions/cache@v3
20+
uses: actions/cache@v4
2021
with:
2122
path: |
2223
~/.m2

.github/workflows/release.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout project
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: List Java modules
1717
id: echo-modules
@@ -22,7 +22,7 @@ jobs:
2222

2323
build_jre:
2424
needs: get_modules
25-
uses: yetanalytics/runtimer/.github/workflows/runtimer.yml@0.1.3-java-11-temurin
25+
uses: yetanalytics/workflow-runtimer/.github/workflows/runtimer.yml@v2
2626
with:
2727
java-version: '11'
2828
java-distribution: 'temurin'
@@ -33,45 +33,46 @@ jobs:
3333
runs-on: ubuntu-latest
3434
steps:
3535
- name: Checkout project
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v4
3737

3838
- name: Get an env
39-
uses: yetanalytics/actions/setup-env@v0.0.4
39+
uses: yetanalytics/action-setup-env@v2
4040

4141
- name: Cache Deps
42-
uses: actions/cache@v3
42+
uses: actions/cache@v4
4343
with:
4444
path: |
4545
~/.m2
4646
~/.gitlibs
4747
key: ${{ runner.os }}-deps-${{ hashFiles('deps.edn') }}
4848
restore-keys: |
4949
${{ runner.os }}-deps-
50+
5051
- name: Build Xapipe
5152
run: make bundle BUNDLE_RUNTIMES=false
5253

5354
- name: Download ubuntu-latest Artifact
54-
uses: actions/download-artifact@v3
55+
uses: actions/download-artifact@v4
5556
with:
56-
name: ubuntu-20.04-jre
57+
name: ubuntu-22.04-jre
5758

5859
- name: Download macOS-latest Artifact
59-
uses: actions/download-artifact@v3
60+
uses: actions/download-artifact@v4
6061
with:
61-
name: macos-12-jre
62+
name: macos-14-jre
6263

6364
- name: Download windows-latest Artifact
64-
uses: actions/download-artifact@v3
65+
uses: actions/download-artifact@v4
6566
with:
6667
name: windows-2022-jre
6768

6869
- name: Unzip the runtimes
6970
run: |
7071
mkdir -p target/bundle/runtimes
71-
unzip ubuntu-20.04-jre.zip -d target/bundle/runtimes
72-
mv target/bundle/runtimes/ubuntu-20.04 target/bundle/runtimes/linux
73-
unzip macos-12-jre.zip -d target/bundle/runtimes
74-
mv target/bundle/runtimes/macos-12 target/bundle/runtimes/macos
72+
unzip ubuntu-22.04-jre.zip -d target/bundle/runtimes
73+
mv target/bundle/runtimes/ubuntu-22.04 target/bundle/runtimes/linux
74+
unzip macos-14-jre.zip -d target/bundle/runtimes
75+
mv target/bundle/runtimes/macos-14 target/bundle/runtimes/macos
7576
unzip windows-2022-jre.zip -d target/bundle/runtimes
7677
mv target/bundle/runtimes/windows-2022 target/bundle/runtimes/windows
7778

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ failures/
1919
/logs/
2020
.DS_Store
2121
/dev-resources/bench/*.json
22+
.clj-kondo/
23+
.lsp/

0 commit comments

Comments
 (0)