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:
parent
e13141d859
commit
9330f5986b
2 changed files with 10 additions and 2 deletions
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
|
@ -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:
|
||||
|
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue