Skip to content

Commit b2bd367

Browse files
committed
update CI/CD
1 parent 532c748 commit b2bd367

File tree

2 files changed

+21
-18
lines changed

2 files changed

+21
-18
lines changed

.github/workflows/continuous-deployment-workflow.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@ on:
77
jobs:
88
test:
99
name: Test
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-22.04
1111
container:
1212
# Source: https://github.com/day8/dockerfile-for-dev-ci-image
13-
image: ghcr.io/day8/dockerfile-for-dev-ci-image/chrome-56:2
13+
image: ghcr.io/day8/dockerfile-for-dev-ci-image/chrome-56:2
1414
credentials:
1515
username: ${{ github.actor }}
1616
password: ${{ secrets.GITHUB_TOKEN }}
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v3
1919
with:
2020
# All of the Git history is required for day8/lein-git-inject to determine the version string.
2121
fetch-depth: 0
2222
- name: Maven cache
23-
uses: actions/cache@v1
23+
uses: actions/cache@v3
2424
with:
2525
path: /root/.m2/repository
2626
key: ${{ runner.os }}-maven-${{ hashFiles('project.clj', '.github/workflows/**') }}
2727
restore-keys: |
2828
${{ runner.os }}-maven-
2929
- name: npm cache
30-
uses: actions/cache@v1
30+
uses: actions/cache@v3
3131
with:
3232
path: ~/.npm
3333
key: ${{ runner.os }}-npm-${{ hashFiles('project.clj') }}-${{ hashFiles('**/deps.cljs') }}
@@ -42,7 +42,7 @@ jobs:
4242
${{ runner.os }}-shadow-cljs-
4343
- run: lein ci
4444
- name: Slack notification
45-
uses: homoluctus/slatify@v2.0.1
45+
uses: lazy-actions/slatify@master
4646
if: failure() || cancelled()
4747
with:
4848
type: ${{ job.status }}
@@ -54,20 +54,20 @@ jobs:
5454
release:
5555
name: Release
5656
needs: test
57-
runs-on: ubuntu-20.04
57+
runs-on: ubuntu-22.04
5858
container:
5959
# Source: https://github.com/day8/dockerfile-for-dev-ci-image
60-
image: ghcr.io/day8/dockerfile-for-dev-ci-image/chrome-56:2
60+
image: ghcr.io/day8/dockerfile-for-dev-ci-image/chrome-56:2
6161
credentials:
6262
username: ${{ github.actor }}
6363
password: ${{ secrets.GITHUB_TOKEN }}
6464
steps:
65-
- uses: actions/checkout@v2
65+
- uses: actions/checkout@v3
6666
with:
6767
# All of the Git history is required for day8/lein-git-inject to determine the version string.
6868
fetch-depth: 0
6969
- name: Maven cache
70-
uses: actions/cache@v1
70+
uses: actions/cache@v3
7171
with:
7272
path: /root/.m2/repository
7373
key: ${{ runner.os }}-maven-${{ hashFiles('project.clj', '.github/workflows/**') }}
@@ -92,7 +92,7 @@ jobs:
9292
draft: false
9393
prerelease: false
9494
- name: Slack notification
95-
uses: homoluctus/slatify@v2.0.1
95+
uses: lazy-actions/slatify@master
9696
if: always()
9797
with:
9898
type: ${{ job.status }}

.github/workflows/continuous-integration-workflow.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,39 +4,42 @@ on: [push]
44
jobs:
55
test:
66
name: Test
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-22.04
88
container:
99
# Source: https://github.com/day8/dockerfile-for-dev-ci-image
10-
image: ghcr.io/day8/dockerfile-for-dev-ci-image/chrome-56:2
10+
image: ghcr.io/day8/dockerfile-for-dev-ci-image/chrome-56:2
1111
credentials:
1212
username: ${{ github.actor }}
1313
password: ${{ secrets.GITHUB_TOKEN }}
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
16+
with:
17+
# All of the Git history is required for day8/lein-git-inject to determine the version string.
18+
fetch-depth: 0
1619
- name: Maven cache
17-
uses: actions/cache@v1
20+
uses: actions/cache@v3
1821
with:
1922
path: /root/.m2/repository
2023
key: ${{ runner.os }}-maven-${{ hashFiles('project.clj', '.github/workflows/**') }}
2124
restore-keys: |
2225
${{ runner.os }}-maven-
2326
- name: npm cache
24-
uses: actions/cache@v1
27+
uses: actions/cache@v3
2528
with:
2629
path: ~/.npm
2730
key: ${{ runner.os }}-npm-${{ hashFiles('project.clj') }}-${{ hashFiles('**/deps.cljs') }}
2831
restore-keys: |
2932
${{ runner.os }}-npm-
3033
- name: shadow-cljs compiler cache
31-
uses: actions/cache@v1
34+
uses: actions/cache@v3
3235
with:
3336
path: .shadow-cljs
3437
key: ${{ runner.os }}-shadow-cljs-${{ github.sha }}
3538
restore-keys: |
3639
${{ runner.os }}-shadow-cljs-
3740
- run: lein ci
3841
- name: Slack notification
39-
uses: homoluctus/slatify@v2.0.1
42+
uses: lazy-actions/slatify@master
4043
if: failure() || cancelled()
4144
with:
4245
type: ${{ job.status }}

0 commit comments

Comments
 (0)