Update Mint to v0.0.3 #3
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
on: | |
pull_request: | |
branches: "main" | |
jobs: | |
test_mint: | |
runs-on: macos-11 | |
strategy: | |
matrix: | |
include: | |
- name: mint | |
version: "0.0.3" | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
path: homebrew-fake-tap-name # give it a fake name so we don't accidentally pull the one from github | |
- name: move it to the right directory | |
run: | | |
mkdir -p homebrew-tap /usr/local/Homebrew/Library/Taps/rwx-research | |
mv homebrew-fake-tap-name /usr/local/Homebrew/Library/Taps/rwx-research/ | |
- name: Install mint & run it | |
run: | | |
set -o pipefail | |
brew install rwx-research/fake-tap-name/${{ matrix.name }} 2>&1 | tee install-output.txt | |
mint --version | grep ${{ matrix.version }} | |
- name: Ensure the integrity was verified | |
run: '! grep "Cannot verify integrity of" install-output.txt' |