Skip to content

Commit

Permalink
pin actions to major versions
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Apr 1, 2023
1 parent 67bb851 commit 08a84c5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
language: [ 'javascript' ]

steps:
- uses: actions/checkout@v3.5.0
- uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.0
- uses: actions/checkout@v3

# check the node version from the .node-version file
- name: fetch node version
Expand All @@ -20,7 +20,7 @@ jobs:
echo "version=${version}" >> $GITHUB_OUTPUT
- name: setup node
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v3
with:
node-version: ${{ steps.node-version.outputs.version }}
cache: npm
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/package-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3.5.0
- uses: actions/checkout@v3

# check the node version from the .node-version file
- name: fetch node version
Expand All @@ -26,7 +26,7 @@ jobs:
echo "version=${version}" >> $GITHUB_OUTPUT
- name: setup node
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v3
with:
node-version: ${{ steps.node-version.outputs.version }}
cache: npm
Expand All @@ -47,7 +47,7 @@ jobs:
id: diff

# If index.js was different than expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v3.1.2
- uses: actions/upload-artifact@v3
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.0
- uses: actions/checkout@v3

# check the node version from the .node-version file
- name: fetch node version
Expand All @@ -20,7 +20,7 @@ jobs:
echo "version=${version}" >> $GITHUB_OUTPUT
- name: setup node
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v3
with:
node-version: ${{ steps.node-version.outputs.version }}
cache: npm
Expand Down

0 comments on commit 08a84c5

Please sign in to comment.