fix(cargo): don't attempt to fetch versions when version targets commit SHA #2443
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: Stylua check | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
jobs: | |
stylua: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run Stylua check | |
uses: JohnnyMorganz/stylua-action@v1.1.1 | |
with: | |
# token is needed because the action allegedly downloads binary from github releases | |
token: ${{ secrets.GITHUB_TOKEN }} | |
# CLI arguments | |
args: --check . | |
version: 0.18.0 |