Commit 3dd91118 by Mathieu Kniewallner Committed by Bjorn Neergaard

ci: bump actions and Python/Node

parent 58d2b996
...@@ -36,14 +36,14 @@ jobs: ...@@ -36,14 +36,14 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.9" python-version: "3.10"
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v2 uses: actions/setup-node@v3
with: with:
node-version: "14" node-version: "18"
- name: Build Assets - name: Build Assets
run: npm ci && npm run prod run: npm ci && npm run prod
...@@ -63,7 +63,7 @@ jobs: ...@@ -63,7 +63,7 @@ jobs:
run: hugo -v --minify run: hugo -v --minify
- name: Deploy - name: Deploy
uses: amondnet/vercel-action@v20 uses: amondnet/vercel-action@v25
id: vercel-action id: vercel-action
with: with:
vercel-token: ${{ secrets.VERCEL_TOKEN }} vercel-token: ${{ secrets.VERCEL_TOKEN }}
......
...@@ -41,10 +41,10 @@ jobs: ...@@ -41,10 +41,10 @@ jobs:
run: run:
shell: bash shell: bash
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
...@@ -68,7 +68,7 @@ jobs: ...@@ -68,7 +68,7 @@ jobs:
run: poetry config virtualenvs.in-project true run: poetry config virtualenvs.in-project true
- name: Set up cache - name: Set up cache
uses: actions/cache@v2 uses: actions/cache@v3
id: cache id: cache
with: with:
path: .venv path: .venv
...@@ -103,7 +103,7 @@ jobs: ...@@ -103,7 +103,7 @@ jobs:
poetry show poetry-plugin-export | grep version | cut -d : -f 2 | xargs) poetry show poetry-plugin-export | grep version | cut -d : -f 2 | xargs)
- name: Checkout Plugin Source (poetry-plugin-export) - name: Checkout Plugin Source (poetry-plugin-export)
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: poetry-plugin-export path: poetry-plugin-export
repository: python-poetry/poetry-plugin-export repository: python-poetry/poetry-plugin-export
......
...@@ -11,10 +11,10 @@ jobs: ...@@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Set up Python 3.10 - name: Set up Python 3.10
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.10" python-version: "3.10"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment