ci: use checkout v2 in actions
This commit is contained in:
parent
514a42b2a2
commit
4f0e75f029
3 changed files with 4 additions and 3 deletions
4
.github/workflows/docker-push.yml
vendored
4
.github/workflows/docker-push.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
|
@ -34,7 +34,7 @@ jobs:
|
|||
if: github.event_name == 'push'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Build image
|
||||
run: docker build . --file Dockerfile --tag image
|
||||
|
|
2
.github/workflows/push.yml
vendored
2
.github/workflows/push.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
|||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
|
|
|
@ -92,6 +92,7 @@ function bindAction(action, dispatch) {
|
|||
return dispatch(action.apply(this, arguments));
|
||||
};
|
||||
}
|
||||
|
||||
function bindActions(actions, dispatch) {
|
||||
const boundActions = {};
|
||||
for (const key in actions) {
|
||||
|
|
Loading…
Reference in a new issue