Bump actions/setup-java from 3 to 4 #1887
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: 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 |