Only use CI for uploading release assets #11
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: Tests | |
on: push | |
jobs: | |
build: | |
name: Test | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
id: cache | |
with: | |
path: ./shellcheck-latest | |
key: ${{ runner.os }}-shellcheck | |
- name: Install shellcheck | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: sh ./scripts/install_shellcheck.sh | |
- name: Execute shellcheck | |
run: ./shellcheck-latest/shellcheck Lock.app/Contents/MacOS/main.command scripts/* | |
- name: Save to cache | |
if: steps.cache.outputs.cache-hit != 'true' | |
id: cache-save | |
uses: actions/cache/save@v4 | |
with: | |
path: ./shellcheck-latest | |
key: ${{ runner.os }}-shellcheck |