Update actions/checkout to v4 #127
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: test | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
install: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Configure Git | |
uses: Homebrew/actions/git-user-config@master | |
# This action automatically installs the locally checked out tap. | |
- name: Set up Homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check the CLI formula | |
run: | | |
brew style databricks | |
- name: Install CLI | |
run: | | |
brew install databricks | |
- name: Run CLI | |
run: | | |
databricks version |