chore: update gradle plugins #420
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build and validate | |
on: | |
push: | |
branches: | |
- main | |
pull_request_target: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{github.event.pull_request.head.ref}} | |
repository: ${{github.event.pull_request.head.repo.full_name}} | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Ensure submodules point to commit from main branch | |
run: git submodule foreach --recursive "git merge-base --is-ancestor HEAD origin/main" | |
- name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_READ_USER }} | |
password: ${{ secrets.DOCKERHUB_READ_TOKEN }} | |
- name: Build with Gradle | |
uses: hypertrace/github-actions/gradle@main | |
with: | |
args: assemble dockerBuildImages | |
validate-helm-charts: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{github.event.pull_request.head.ref}} | |
repository: ${{github.event.pull_request.head.repo.full_name}} | |
fetch-depth: 0 | |
submodules: recursive | |
- name: validate charts | |
uses: hypertrace/github-actions/validate-charts@main |