upgrade github actions

pull/11/head
Yax 2 years ago
parent f43df83074
commit 57d6039e18

@ -7,9 +7,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- name: Build the Docker image - name: Build the Docker image
run: | run: |
echo "${{ secrets.DOCKER_HUB_TOKEN }}" | docker login -u "${{ secrets.DOCKER_HUB_USERNAME }}" --password-stdin docker.io echo "${{ secrets.DOCKER_HUB_TOKEN }}" | docker login -u "${{ secrets.DOCKER_HUB_USERNAME }}" --password-stdin docker.io

@ -5,15 +5,12 @@ jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/setup-node@v3
with:
node-version: '16'
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-python@v2 - uses: actions/setup-python@v4
with: with:
python-version: "3.10.8" python-version: "3.10.8"
- name: Install poetry - name: Install poetry
uses: abatilo/actions-poetry@v2.0.0 uses: abatilo/actions-poetry@v2
with: with:
poetry-version: 1.2.2 poetry-version: 1.2.2
- name: Install dependencies - name: Install dependencies

@ -11,15 +11,12 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/setup-node@v3
with:
node-version: '16'
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-python@v2 - uses: actions/setup-python@v4
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Run image - name: Run image
uses: abatilo/actions-poetry@v2.0.0 uses: abatilo/actions-poetry@v2
with: with:
poetry-version: ${{ matrix.poetry-version }} poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies - name: Install dependencies

Loading…
Cancel
Save