Skip to content

Commit

Permalink
Configure composite action explicitly (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavetok authored Feb 18, 2024
1 parent acfb2a5 commit d2f28ff
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 26 deletions.
11 changes: 11 additions & 0 deletions .github/actions/setup-gear/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,14 @@ runs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ inputs.token }}
# for the sake of maven setup & dependency caching
- uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: '21'
check-latest: false
cache: 'maven'
cache-dependency-path: |
pom.xml
lib/pom.xml
tool/pom.xml
18 changes: 0 additions & 18 deletions .github/actions/setup-maven/action.yaml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ updates:
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/actions/setup-gear"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "/db/postgres"
schedule:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/beyond-doubt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ jobs:
with:
devenv: ${{ matrix.env.dev }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run setup-maven
uses: ./.github/actions/setup-maven
- name: Run ansible-playbook sources.yaml
run: >-
docker run --rm
Expand Down Expand Up @@ -151,8 +149,6 @@ jobs:
with:
name: product-${{ matrix.purpose }}-${{ matrix.env.ops }}
path: stack/product/target/image-context
- name: Run setup-maven
uses: ./.github/actions/setup-maven
- name: Run ansible-playbook stacks.yaml -t test
run: >-
docker run --rm
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/convincing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ jobs:
with:
devenv: ${{ matrix.env.dev }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run setup-maven
uses: ./.github/actions/setup-maven
- name: Run ansible-playbook sources.yaml
run: >-
docker run --rm
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/sanity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ jobs:
with:
devenv: ${{ matrix.env.dev }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run setup-maven
uses: ./.github/actions/setup-maven
- name: Run ansible-playbook sources.yaml
run: >-
docker run --rm
Expand Down

0 comments on commit d2f28ff

Please sign in to comment.