Skip to content

Commit 904abc0

Browse files
(maint) update versions of github actions dependencies
This updats the actions/checkout to the latest, setup-java to the latest, and setup-clojure to the latest to allow the mend scans to operate correctly Finally, it sets up a scheduled scan every day at 4AM
1 parent 0f9a38d commit 904abc0

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/clojure-linting.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: setup java
14-
uses: actions/setup-java@v3
14+
uses: actions/setup-java@v4
1515
with:
1616
distribution: temurin
1717
java-version: 17
1818
- name: checkout repo
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v4
2020
- name: install clj-kondo (this is quite fast)
2121
run: |
2222
curl -sLO https://raw.githubusercontent.com/clj-kondo/clj-kondo/master/script/install-clj-kondo

.github/workflows/mend.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: mend_scan
22
on:
3+
schedule:
4+
# run every day at 4:00am
5+
- cron: 0 4 * * *
36
workflow_dispatch:
47
push:
58
branches:
@@ -13,18 +16,18 @@ jobs:
1316
with:
1417
service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}
1518
- name: checkout repo content
16-
uses: actions/checkout@v2 # checkout the repository content to github runner.
19+
uses: actions/checkout@v4 # checkout the repository content to github runner.
1720
with:
1821
fetch-depth: 1
1922
# install java which is required for mend and clojure
2023
- name: setup java
21-
uses: actions/setup-java@v3
24+
uses: actions/setup-java@v4
2225
with:
2326
distribution: temurin
2427
java-version: 17
2528
# install clojure tools
2629
- name: Install Clojure tools
27-
uses: DeLaGuardo/setup-clojure@10.1
30+
uses: DeLaGuardo/setup-clojure@12.5
2831
with:
2932
# Install just one or all simultaneously
3033
# The value must indicate a particular version of the tool, or use 'latest'

0 commit comments

Comments
 (0)