Update GitHub Actions

Prepare GitHub Actions checkout for future update where we need to pin the branch as 'master' will not be the default branch anymore.
This commit is contained in:
robiiinos 2020-07-25 15:27:23 +02:00
parent e13141d859
commit 9330f5986b
2 changed files with 10 additions and 2 deletions

View File

@ -13,6 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: master
- name: shellcheck
uses: ludeeus/action-shellcheck@0.4.1
env:
@ -21,7 +24,10 @@ jobs:
shfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
ref: master
- name: shfmt
uses: bltavares/actions/shfmt@master
env:

View File

@ -21,7 +21,9 @@ jobs:
- centos-7-x64
- centos-8-x64
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
with:
ref: master
- name: Setup doctl
uses: digitalocean/action-doctl@v2