Skip to content

validate bottles

validate bottles #10

name: validate bottles
on:
workflow_dispatch:
release:
types:
- published
- edited
jobs:
smoke:
runs-on: ${{ matrix.x.os }}
strategy:
matrix:
x:
- os: ubuntu-latest
- os: ubuntu-latest
container: ubuntu:focal
- os: macos-latest
container: ${{ matrix.x.container }}
steps:
- uses: actions/checkout@v4
# the “dedicated” homebrew setup action doesn't work in containers
- run: |
apt update --yes && apt install --yes build-essential procps curl file git
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo "/home/linuxbrew/.linuxbrew/bin" >> $GITHUB_PATH
if: matrix.x.container == 'ubuntu:focal'
- uses: Homebrew/actions/setup-homebrew@master
if: matrix.x.container != 'ubuntu:focal'
- run: brew install ./pkgx.rb
- run: pkgx semverator satisfies ^1 1.0.0