Skip to content

Commit

Permalink
Add dependabot.yml for Github Actions updates
Browse files Browse the repository at this point in the history
And save it some work and update Actions to latest versions.
  • Loading branch information
eht16 committed Feb 12, 2024
1 parent 6227d2b commit 74637c1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
# Before applying suggested PRs, make sure that the new versions of any
# updated actions are allowed in
# https://github.com/organizations/geany/settings/actions
# Versions are pinned and restricted for security reasons.
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ jobs:

steps:
- name: Checkout Geany-Plugins
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Checkout Geany
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: geany/geany
path: ${{ env.GEANY_SOURCE_PATH }}
Expand All @@ -62,7 +62,7 @@ jobs:
run: echo "timestamp=$(date +%Y-%m-%d-%H-%M)" >> $GITHUB_OUTPUT

- name: Configure ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ runner.os }}-${{ github.job }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
Expand All @@ -75,7 +75,7 @@ jobs:

- name: Configure Geany Cache
id: geany_cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.GEANY_CACHE_PATH }}
key: ${{ runner.os }}-${{ github.job }}-geany-cache-${{ steps.prepare_geany_cache_key.outputs.commit_hash }}
Expand Down Expand Up @@ -181,17 +181,17 @@ jobs:

steps:
- name: Checkout Geany-Plugins
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Checkout Geany
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: geany/geany
path: ${{ env.GEANY_SOURCE_PATH }}
token: ${{ github.token }}

- name: Checkout Build Scripts
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: master
repository: geany/infrastructure
Expand All @@ -218,7 +218,7 @@ jobs:

- name: Configure Geany Cache
id: geany_cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.GEANY_CACHE_PATH }}
key: ${{ runner.os }}-${{ github.job }}-geany-mingw64-cache-${{ steps.prepare_geany_cache_key.outputs.commit_hash }}
Expand All @@ -229,7 +229,7 @@ jobs:
env | sort
- name: Log in to the Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ env.DOCKER_REGISTRY }}
username: ${{ github.actor }}
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
bash start_build.sh --log-to-stdout --mingw64 --geany-plugins --geany-plugins-source "${{ github.workspace }}"
- name: Archive Geany-Plugins Installer
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: geany-plugins-installer-ci-${{ env.SHORT_SHA }}-pr${{ env.GITHUB_PULL_REQUEST_OR_REF }}
retention-days: 30
Expand Down

0 comments on commit 74637c1

Please sign in to comment.