Skip to content

Commit

Permalink
fix: bump checkout to v3 for all actions
Browse files Browse the repository at this point in the history
  • Loading branch information
shawaj committed Dec 29, 2022
1 parent eb11072 commit d6f7494
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-to-prod-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
frequency: 868
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: production
- name: Export short SHA of current commit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-to-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
frequency: 868
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Export short SHA of current commit
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-to-testnet-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
sbc: [raspi, rockpi, rak, finestra, sensecap, og, controllino, pisces, cotx, pantherx1, linxdot, linxdot-rkcm3, syncrobit, syncrobit-rkcm3, pycom, risinghf]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Export short SHA of current commit
run: |
FIRMWARE_SHORT_HASH=$( echo ${GITHUB_SHA:0:7} )
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-to-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
sbc: [raspi, rockpi, rak, finestra, sensecap, og, controllino, pisces, cotx, pantherx1, linxdot, linxdot-rkcm3, syncrobit, syncrobit-rkcm3, pycom, risinghf]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Export short SHA of current commit
run: |
FIRMWARE_SHORT_HASH=$( echo ${GITHUB_SHA:0:7} )
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-miner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
miner-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion balena/workflows/build-open-fleet.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@v2
- uses: actions/checkout@v3
with:
ref: master

Expand Down
4 changes: 2 additions & 2 deletions balena/workflows/update-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
file-update-prod:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: master
- run: |
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
file-update-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: testnet
- run: |
Expand Down

0 comments on commit d6f7494

Please sign in to comment.