Skip to content

Bump actions/checkout from 3 to 4 (#133) #364

Bump actions/checkout from 3 to 4 (#133)

Bump actions/checkout from 3 to 4 (#133) #364

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request: {}
jobs:
yaml:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ibiqlik/action-yamllint@v3
with:
format: colored
strict: true
markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: avto-dev/markdown-lint@v1
with:
args: /github/workspace
json:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: limitusus/[email protected]
with:
pattern: \\.json$
dockerfile:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
context: [base, temurin, temurin-import, distroless, distroless-import]
steps:
- uses: actions/checkout@v4
- uses: hadolint/[email protected]
with:
dockerfile: src/main/docker/${{ matrix.context }}/Dockerfile
verify:
runs-on: ubuntu-latest
if: ${{ github.ref != 'refs/heads/main' }}
strategy:
fail-fast: false
matrix:
image: [temurin, distroless]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
cache: maven
- run: mvn -B -ntp verify -Dimage.tag.test=${{ matrix.image }} -Dk3s.skipRm
- name: Run kubectl logs -l app.kubernetes.io/name=keycloak
run: export KUBECONFIG=/home/runner/.kube/k3s-maven-plugin/mount/kubeconfig.yaml && kubectl logs -l app.kubernetes.io/name=keycloak --tail -1
if: ${{ failure() }}