Add Docker cask to Brewfile
#1
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: Sourcemeta Registry CI | |
on: | |
pull_request: | |
concurrency: | |
group: registry-ci-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Dependencies | |
- run: pipx install clang-format==19.1.0 | |
- uses: intelligence-ai/[email protected] | |
- name: Install Hurl | |
run: | | |
curl --location --remote-name https://github.com/Orange-OpenSource/hurl/releases/download/${{ env.HURL_VERSION }}/hurl_${{ env.HURL_VERSION }}_amd64.deb | |
sudo apt install ./hurl_${{ env.HURL_VERSION }}_amd64.deb | |
rm hurl_${{ env.HURL_VERSION }}_amd64.deb | |
env: | |
HURL_VERSION: 5.0.1 | |
# Linting | |
- run: make configure PRESET=Release INDEX=OFF SERVER=OFF | |
- run: make lint PRESET=Release | |
# Testing | |
- run: docker build --tag registry . --progress plain | |
- run: docker compose build | |
- run: docker compose up --detach --wait | |
- run: make test PRESET=Release | |
- run: docker compose down |