Skip to content

Commit

Permalink
actions update
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperancinha committed Jun 21, 2024
1 parent 07b7c4e commit 4603f8a
Show file tree
Hide file tree
Showing 6 changed files with 102 additions and 88 deletions.
64 changes: 16 additions & 48 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,51 +2,19 @@ version: 2
updates:

- package-ecosystem: gradle
directory: "/good-feel"
schedule:
interval: "daily"

- package-ecosystem: gradle
directory: "/plus"
schedule:
interval: "daily"

- package-ecosystem: gradle
directory: "/whiskers-cloudnative"
schedule:
interval: "daily"

- package-ecosystem: gradle
directory: "/whiskers-graalvm"
schedule:
interval: "daily"

- package-ecosystem: gradle
directory: "/whiskers-ktor"
schedule:
interval: "daily"

- package-ecosystem: gradle
directory: "/whiskers-ktor-no-db"
schedule:
interval: "daily"

- package-ecosystem: gradle
directory: "/whiskers-runners/whiskers-runners-graalvm"
schedule:
interval: "daily"

- package-ecosystem: gradle
directory: "/whiskers-runners/whiskers-runners-knative"
schedule:
interval: "daily"

- package-ecosystem: gradle
directory: "/whiskers-runners/whiskers-runners-native"
schedule:
interval: "daily"

- package-ecosystem: npm
directory: "/e2e"
schedule:
interval: "daily"
directory: "/"
schedule:
interval: "daily"
groups:
kotlin:
patterns:
- "org.jetbrains.kotlin.*"
- "com.google.devtools.ksp"
- "kotlin*"
- "*kotlin*"
spring:
patterns:
- "*spring*"
ktor:
patterns:
- "*ktor*"
33 changes: 33 additions & 0 deletions .github/workflows/whiskers-plugins-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Updates plugins

on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:

jobs:
update-plugins:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Run dependency update script
run: make deps-plugins-update

- name: Create pull request
uses: peter-evans/create-pull-request@v6
with:
commit-message: Update plugins
branch: update-plugins
title: 'Update plugins'
body: |
This pull request updates the following dependencies:
- Current plugin updates
labels: dependencies
40 changes: 20 additions & 20 deletions .github/workflows/whiskers-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
Expand All @@ -21,7 +21,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3

- name: Build Gradle
run: make build-gradle-good-feel
Expand All @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
Expand All @@ -39,7 +39,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3

- name: Build Gradle
run: make build-gradle-plus
Expand All @@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
Expand All @@ -57,7 +57,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3

- name: Setup Gradle Env
run: export GRADLE_OPTS="-Xmx2048m -Dorg.gradle.jvmargs='-Xmx2048m -XX:MaxPermSize=2048m'"
Expand All @@ -69,7 +69,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
Expand All @@ -78,7 +78,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3

- name: Linux libraries
run: sudo apt install libreadline-dev &&
Expand All @@ -104,8 +104,8 @@ jobs:
build-graalvm-exec-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/gradle-build-action@v2
- uses: actions/checkout@v4
- uses: gradle/gradle-build-action@v3
- uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
Expand All @@ -119,8 +119,8 @@ jobs:
build-graalvm-cloud-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/gradle-build-action@v2
- uses: actions/checkout@v4
- uses: gradle/gradle-build-action@v3
- uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
Expand All @@ -135,14 +135,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v3
- uses: actions/setup-java@v3
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3

- name: Setup Binaries
run: make setup-binaries
Expand All @@ -157,14 +157,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v3
- uses: actions/setup-java@v3
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3

- name: Linux libraries
run: sudo apt install libreadline-dev &&
Expand All @@ -187,8 +187,8 @@ jobs:
build-runners:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/gradle-build-action@v2
- uses: actions/checkout@v4
- uses: gradle/gradle-build-action@v3
- uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/whiskers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
Expand All @@ -21,7 +21,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3

- name: Build Gradle
run: make build-gradle-good-feel
Expand All @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
Expand All @@ -39,7 +39,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3

- name: Build Gradle
run: make build-gradle-plus
Expand All @@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
Expand All @@ -57,7 +57,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3

- name: Setup Gradle Env
run: export GRADLE_OPTS="-Xmx2048m -Dorg.gradle.jvmargs='-Xmx2048m -XX:MaxPermSize=2048m'"
Expand All @@ -69,7 +69,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
Expand All @@ -78,7 +78,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3

- name: Linux libraries
run: sudo apt install libreadline-dev &&
Expand All @@ -104,8 +104,8 @@ jobs:
build-graalvm-exec-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/gradle-build-action@v2
- uses: actions/checkout@v4
- uses: gradle/gradle-build-action@v3
- uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
Expand All @@ -119,8 +119,8 @@ jobs:
build-graalvm-cloud-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/gradle-build-action@v2
- uses: actions/checkout@v4
- uses: gradle/gradle-build-action@v3
- uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
Expand All @@ -135,14 +135,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v3
- uses: actions/setup-java@v3
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3

- name: Setup Binaries
run: make setup-binaries
Expand All @@ -157,14 +157,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v3
- uses: actions/setup-java@v3
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3

- name: Linux libraries
run: sudo apt install libreadline-dev &&
Expand All @@ -187,8 +187,8 @@ jobs:
build-runners:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/gradle-build-action@v2
- uses: actions/checkout@v4
- uses: gradle/gradle-build-action@v3
- uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
Expand Down
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,13 @@ docs/article.whiskers.banner.png~

# Gradle
gradle-wrapper.jar

# NPM
package-lock.json
yarn.lock

## Automation
cypressUpdateOne.sh
docker-composetmp.yml
packagetmp.json
pluginUpdatesOne.sh
Loading

0 comments on commit 4603f8a

Please sign in to comment.