Skip to content

chore(deps): update github-actions #551

chore(deps): update github-actions

chore(deps): update github-actions #551

Workflow file for this run

name: ci
on:
push:
branches: [master]
release:
types: [created]
pull_request:
branches: [master]
permissions: read-all
jobs:
build:
uses: miracum/.github/.github/workflows/standard-build.yaml@588a05ea7e98dd0ba6a98d23ac5cc5d6d68d40fe # v1.11.1
permissions:
contents: read
id-token: write
packages: write
pull-requests: write
actions: read
security-events: write
with:
enable-build-test-layer: false
enable-upload-test-image: false
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
test:
runs-on: ubuntu-22.04
needs:
- build
steps:
- name: "Checkout code"
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- name: Download build image
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
if: ${{ github.event_name == 'pull_request' }}
with:
name: ${{ needs.build.outputs.image-slug }}
path: /tmp
- name: load image
if: ${{ github.event_name == 'pull_request' }}
run: |
ls -lsa /tmp
docker load --input /tmp/image.tar
docker image ls
- name: Run E2E tests
env:
KAFKA_FHIR_TO_SERVER_IMAGE: "${{ fromJson(needs.build.outputs.image-meta-json).tags[0] }}"
run: |
docker compose -f compose.yml -f tests/e2e/compose.yml --project-directory=tests/e2e build
docker compose -f compose.yml -f tests/e2e/compose.yml --project-directory=tests/e2e run test
- name: Print E2E logs and shutdown
if: ${{ always() }}
env:
KAFKA_FHIR_TO_SERVER_IMAGE: "${{ fromJson(needs.build.outputs.image-meta-json).tags[0] }}"
run: |
docker compose -f compose.yml -f tests/e2e/compose.yml logs
docker compose -f compose.yml -f tests/e2e/compose.yml down --volumes --remove-orphans
lint:
uses: miracum/.github/.github/workflows/standard-lint.yaml@588a05ea7e98dd0ba6a98d23ac5cc5d6d68d40fe # v1.11.1
permissions:
contents: read
pull-requests: write
issues: write
security-events: write
actions: read
with:
enable-validate-gradle-wrapper: true
codeql-languages: '["java"]'
enable-codeql: true
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
release:
uses: miracum/.github/.github/workflows/standard-release.yaml@588a05ea7e98dd0ba6a98d23ac5cc5d6d68d40fe # v1.11.1
needs:
- build
permissions:
contents: write
pull-requests: write
issues: write
secrets:
semantic-release-token: ${{ secrets.MIRACUM_BOT_SEMANTIC_RELEASE_TOKEN }}