Update actions

This commit is contained in:
Shane Lee 2024-01-22 08:08:45 -07:00
parent dffac087f8
commit 4b031af693
No known key found for this signature in database
GPG key ID: 9B77EE3C5C0D9F63
3 changed files with 18 additions and 18 deletions

View file

@ -16,13 +16,13 @@ jobs:
outputs: outputs:
run-tests: ${{ steps.set-output.outputs.run-tests }} run-tests: ${{ steps.set-output.outputs.run-tests }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Get specific changed files - name: Get specific changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@v25 uses: tj-actions/changed-files@v42
with: with:
separator: "," separator: ","
files: | files: |
@ -47,7 +47,7 @@ jobs:
- name: Upload Exit Status - name: Upload Exit Status
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: exitstatus name: exitstatus
path: exitstatus path: exitstatus
@ -59,7 +59,7 @@ jobs:
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true' if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Set up Python 3.9 - name: Set up Python 3.9
uses: actions/setup-python@v4 uses: actions/setup-python@v4
@ -84,7 +84,7 @@ jobs:
- name: Upload Exit Status - name: Upload Exit Status
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: exitstatus name: exitstatus
path: exitstatus path: exitstatus
@ -96,7 +96,7 @@ jobs:
container: koalaman/shellcheck-alpine:v0.7.0 container: koalaman/shellcheck-alpine:v0.7.0
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true' if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: ShellCheck - name: ShellCheck
run: | run: |
shellcheck -s sh -f tty bootstrap-salt.sh shellcheck -s sh -f tty bootstrap-salt.sh
@ -109,7 +109,7 @@ jobs:
- name: Upload Exit Status - name: Upload Exit Status
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: exitstatus name: exitstatus
path: exitstatus path: exitstatus
@ -603,14 +603,14 @@ jobs:
- name: Download Exit Status Files - name: Download Exit Status Files
if: always() if: always()
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: exitstatus name: exitstatus
path: exitstatus path: exitstatus
- name: Delete Exit Status Artifacts - name: Delete Exit Status Artifacts
if: always() if: always()
uses: geekyeggo/delete-artifact@v1 uses: geekyeggo/delete-artifact@v4
with: with:
name: exitstatus name: exitstatus
failOnError: false failOnError: false

View file

@ -11,14 +11,14 @@
- name: Download Exit Status Files - name: Download Exit Status Files
if: always() if: always()
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: exitstatus name: exitstatus
path: exitstatus path: exitstatus
- name: Delete Exit Status Artifacts - name: Delete Exit Status Artifacts
if: always() if: always()
uses: geekyeggo/delete-artifact@v1 uses: geekyeggo/delete-artifact@v4
with: with:
name: exitstatus name: exitstatus
failOnError: false failOnError: false

View file

@ -16,13 +16,13 @@ jobs:
outputs: outputs:
run-tests: ${{ steps.set-output.outputs.run-tests }} run-tests: ${{ steps.set-output.outputs.run-tests }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Get specific changed files - name: Get specific changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@v25 uses: tj-actions/changed-files@v42
with: with:
separator: "," separator: ","
files: | files: |
@ -47,7 +47,7 @@ jobs:
- name: Upload Exit Status - name: Upload Exit Status
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: exitstatus name: exitstatus
path: exitstatus path: exitstatus
@ -59,7 +59,7 @@ jobs:
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true' if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Set up Python 3.9 - name: Set up Python 3.9
uses: actions/setup-python@v4 uses: actions/setup-python@v4
@ -84,7 +84,7 @@ jobs:
- name: Upload Exit Status - name: Upload Exit Status
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: exitstatus name: exitstatus
path: exitstatus path: exitstatus
@ -96,7 +96,7 @@ jobs:
container: koalaman/shellcheck-alpine:v0.7.0 container: koalaman/shellcheck-alpine:v0.7.0
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true' if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: ShellCheck - name: ShellCheck
run: | run: |
shellcheck -s sh -f tty bootstrap-salt.sh shellcheck -s sh -f tty bootstrap-salt.sh
@ -109,7 +109,7 @@ jobs:
- name: Upload Exit Status - name: Upload Exit Status
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: exitstatus name: exitstatus
path: exitstatus path: exitstatus