Bump actions/checkout from 3 to 4 (#5) #17
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 asdf plugin | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: asdf_plugin_test | |
uses: asdf-vm/actions/plugin-test@v2 | |
with: | |
command: "tfupdate -v" | |
env: | |
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} # automatically provided | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run ShellCheck | |
run: shellcheck bin/* |