Add cli action tests on CI #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
name: "CLI Action testing" | |
on: | |
pull_request: | |
branches: | |
- "*" | |
push: | |
tags: | |
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10 | |
branches: | |
- main | |
env: | |
TERM: unknown # Disables colors in rich | |
jobs: | |
version: | |
name: "Check Snowflake CLI version" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Snowflake-Labs/snowflake-cli-action@v1 | |
with: | |
cli-version: "2.1.0" | |
- name: Test version | |
run: snow --version |