Skip to content

Commit

Permalink
Print shellcheck version: Change github.action_path to github.workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmachos committed May 4, 2024
1 parent 8176433 commit 2765030
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/Shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
analyse:
# This workflow contains a single job called "shellcheck"
shellcheck:
# The type of runner that the job will run on
runs-on: macos-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
# Checks-out your repository under ${{ github.workspace }}, so your job can access it
- uses: actions/checkout@v4

- name: Download Shellcheck
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Print shellcheck version
run: |
"${{ github.action_path }}/shellcheck" --version
"${{ github.workspace }}/shellcheck" --version
- name: Execute test
env:
Expand Down

0 comments on commit 2765030

Please sign in to comment.