Skip to content

Commit

Permalink
Merge pull request #14 from icatproject/configure-dependabot-for-gh-a…
Browse files Browse the repository at this point in the history
…ctions

Configure Dependabot version updates for actions
  • Loading branch information
VKTB authored Sep 8, 2023
2 parents 8800f89 + 22f222a commit 7f1c8ee
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates every week
interval: "weekly"
10 changes: 5 additions & 5 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ jobs:
steps:
# Setup Java & Python
- name: Setup Java
uses: actions/setup-java@v2
uses: actions/setup-java@3f07048e3d294f56e9b90ac5ea2c6f74e9ad0f98 # v3.10.0
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
with:
python-version: "3.9.7"
architecture: x64

- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3.2.6
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand All @@ -35,7 +35,7 @@ jobs:
# ICAT Ansible clone and install dependencies
- name: Checkout icat-ansible
uses: actions/checkout@v2
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
repository: icatproject-contrib/icat-ansible
path: icat-ansible
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
asadmin undeploy `asadmin list-applications | grep authn.db | awk '{print $1;}'`
- name: Checkout authn-db
uses: actions/checkout@v2
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0

# Payara must be sourced otherwise the Maven build command fails
- name: Run Build
Expand Down

0 comments on commit 7f1c8ee

Please sign in to comment.