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
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
|
@ -34,7 +34,7 @@ jobs:
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: docker build . --file Dockerfile --tag 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]
|
node-version: [12.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
|
|
|
@ -92,6 +92,7 @@ function bindAction(action, dispatch) {
|
||||||
return dispatch(action.apply(this, arguments));
|
return dispatch(action.apply(this, arguments));
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
function bindActions(actions, dispatch) {
|
function bindActions(actions, dispatch) {
|
||||||
const boundActions = {};
|
const boundActions = {};
|
||||||
for (const key in actions) {
|
for (const key in actions) {
|
||||||
|
|
Loading…
Reference in a new issue