Skip to content

Bump pre-commit-ci/lite-action from 1.0.1 to 1.0.2 #2456

Bump pre-commit-ci/lite-action from 1.0.1 to 1.0.2

Bump pre-commit-ci/lite-action from 1.0.1 to 1.0.2 #2456

name: Test container on podman and Colima
on:
push:
branches:
- master
pull_request:
branches: [master]
workflow_dispatch:
permissions:
contents: read
jobs:
test-podman:
name: Test with podman
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: run container
run: |
podman run -dt -p 8080:8080 docker.io/jeroenwillemsen/wrongsecrets:latest-no-vault && \
echo "wait 20 seconds for container to come up" && sleep 20 && \
curl localhost:8080
test-colima:
name: Test with Colima
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
# when https://github.com/douglascamata/setup-docker-macos-action/pull/19 is merged and tagged, move to new version:
- uses: douglascamata/setup-docker-macos-action@v1-alpha.10
env:
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
- name: setup colima
run: |
echo "Colima version: ${{ steps.docker.outputs.colima-version }}"
- name: test if container comes up
run: |
docker run -d -p 8080:8080 jeroenwillemsen/wrongsecrets:latest-no-vault && \
echo "wait 40 seconds for container to come up" && sleep 40 && \
curl localhost:8080