Skip to content

chore(deps-dev): bump follow-redirects from 1.15.4 to 1.15.6 #120

chore(deps-dev): bump follow-redirects from 1.15.4 to 1.15.6

chore(deps-dev): bump follow-redirects from 1.15.4 to 1.15.6 #120

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@0acca4e2cf641d828c9514dce0ff70511b448cc2 # v1.5.9
permissions:
contents: read
id-token: write
packages: write
pull-requests: write
actions: read
security-events: write
with:
enable-build-test-layer: true
enable-upload-test-image: true
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
lint:
uses: miracum/.github/.github/workflows/standard-lint.yaml@0acca4e2cf641d828c9514dce0ff70511b448cc2 # v1.5.9
permissions:
contents: read
pull-requests: write
issues: write
security-events: write
actions: read
with:
enable-validate-gradle-wrapper: false
codeql-languages: '["javascript"]'
enable-codeql: true
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
test:
runs-on: ubuntu-22.04
needs:
- build
steps:
- name: "Checkout code"
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
persist-credentials: false
- name: Download build image
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
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
# the test image is always downloaded whether its a PR or not. Only the "actual" image is pushed to
# the container registry on non-PRs.
- name: Download test image
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
with:
name: ${{ needs.build.outputs.image-slug }}-test
path: /tmp
- name: Load test image
run: |
ls -lsa /tmp
docker load --input /tmp/image-test.tar
docker image ls
- name: Run E2E tests
env:
IMAGE_TAG: "${{ needs.build.outputs.image-version }}"
run: |
docker compose -f tests/e2e/compose.yaml up --abort-on-container-exit
docker compose -f tests/e2e/compose.yaml down --remove-orphans
- name: Print E2E logs
env:
IMAGE_TAG: "${{ needs.build.outputs.image-version }}"
if: ${{ always() }}
run: |
docker compose -f tests/e2e/compose.yaml logs
release:
uses: miracum/.github/.github/workflows/standard-release.yaml@0acca4e2cf641d828c9514dce0ff70511b448cc2 # v1.5.9
needs:
- build
- test
permissions:
contents: write
pull-requests: write
issues: write
secrets:
semantic-release-token: ${{ secrets.MIRACUM_BOT_SEMANTIC_RELEASE_TOKEN }}