Skip to content

check action works

check action works #24

Workflow file for this run

name: check action works
permissions:
contents: read
on: [push]
jobs:
check:
name: Test the action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: fetch the version
uses: sudo-bot/action-docker-compose@latest
with:
cli-args: "--version"
- name: try to pull an image
uses: sudo-bot/action-docker-compose@latest
with:
cli-args: "-f .github/data/docker-compose-latest.test.yml pull"
- name: try to compose up
uses: sudo-bot/action-docker-compose@latest
with:
cli-args: "-f .github/data/docker-compose-latest.test.yml up --exit-code-from=sut --abort-on-container-exit"
- name: try to compose down
uses: sudo-bot/action-docker-compose@latest
with:
cli-args: "-f .github/data/docker-compose-latest.test.yml down"