Skip to content

Commit

Permalink
Better GitHub Actions versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKohler committed Oct 26, 2021
1 parent 6319f6e commit 8130548
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:

steps:
# SETUP
- uses: actions/checkout@master
- uses: hecrj/setup-rust-action@v1.3.4
- uses: actions/checkout@v2
- uses: hecrj/setup-rust-action@e0938bab41405f7485391869b453779c5290099d
with:
rust-version: ${{ matrix.rust }}
components: clippy
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/manual-dispatch-wikipedia-rerun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
steps:
# SETUP
- name: Maximize build space
uses: easimon/maximize-build-space@master
uses: easimon/maximize-build-space@b4d02c14493a9653fe7af06cc89ca5298071c66e
with:
root-reserve-mb: 512
swap-size-mb: 1024
Expand All @@ -43,7 +43,7 @@ jobs:
with:
rust-version: ${{ matrix.rust }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.1.2
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/manual-dispatch-wikipedia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
steps:
# SETUP
- name: Maximize build space
uses: easimon/maximize-build-space@master
uses: easimon/maximize-build-space@b4d02c14493a9653fe7af06cc89ca5298071c66e
with:
root-reserve-mb: 512
swap-size-mb: 1024
Expand All @@ -34,7 +34,7 @@ jobs:
- uses: hecrj/setup-rust-action@e0938bab41405f7485391869b453779c5290099d
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
- uses: actions/checkout@v2

# EXTRACTION
- name: Full Wikipedia Extraction - ${{ github.event.inputs.language }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/manual-dispatch-wikisource.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
steps:
# SETUP
- name: Maximize build space
uses: easimon/maximize-build-space@master
uses: easimon/maximize-build-space@b4d02c14493a9653fe7af06cc89ca5298071c66e
with:
root-reserve-mb: 512
swap-size-mb: 1024
Expand All @@ -34,7 +34,7 @@ jobs:
- uses: hecrj/setup-rust-action@e0938bab41405f7485391869b453779c5290099d
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
- uses: actions/checkout@v2

# EXTRACTION
- name: Full Wikisource Extraction - ${{ github.event.inputs.language }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/manual-issue-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ jobs:
steps:
# SETUP
- name: Maximize build space
uses: easimon/maximize-build-space@master
uses: easimon/maximize-build-space@b4d02c14493a9653fe7af06cc89ca5298071c66e
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: "true"
remove-android: "true"
remove-haskell: "true"
- uses: hecrj/setup-rust-action@master
- uses: hecrj/setup-rust-action@e0938bab41405f7485391869b453779c5290099d
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
- uses: actions/checkout@v2

# COMMENT
- name: Get Comment
Expand All @@ -41,7 +41,7 @@ jobs:
run: "echo ${{ steps.comment.outputs.action }}"
- name: Create comment
if: "!contains(steps.comment.outputs.action, 'no-action')"
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@dfd809e21f4d5cfc0a52e70caed06890c58d2e6d
with:
issue-number: ${{ github.event.issue.number }}
body: |
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
# CREATE FINAL COMMENT
- name: Create final comment
if: "!contains(steps.comment.outputs.action, 'no-action')"
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@dfd809e21f4d5cfc0a52e70caed06890c58d2e6d
with:
issue-number: ${{ github.event.issue.number }}
body: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: hecrj/setup-rust-action@e0938bab41405f7485391869b453779c5290099d
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
- uses: actions/checkout@v2

# GET CHANGED FILES TO DETERMINE LANGUAGE
- uses: futuratrepadeira/changed-files@e800e40c8475490f1e1325f19064a2b832483d90
Expand Down

0 comments on commit 8130548

Please sign in to comment.