Update dashlane-cli to v6.2424.1 (#4) #35
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 Homebrew Formula | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
test_formula: | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Homebrew (Linux only) | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y build-essential curl file git | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)" | |
echo /home/linuxbrew/.linuxbrew/bin >> $GITHUB_PATH | |
- name: Install Dashlane CLI from rb file | |
run: brew install --build-from-source Formula/dashlane-cli.rb | |
- name: Run brew tests | |
run: brew test Formula/dashlane-cli.rb |