mirror of
https://github.com/pelican-plugins/share-post.git
synced 2025-10-15 17:08:54 +02:00
Use new version of GH actions
This commit is contained in:
parent
a50b605129
commit
0312f7a972
1 changed files with 9 additions and 9 deletions
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
|
|
@ -14,13 +14,13 @@ jobs:
|
||||||
python-version: [3.6, 3.7, 3.8, 3.9]
|
python-version: [3.6, 3.7, 3.8, 3.9]
|
||||||
|
|
||||||
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 }}
|
||||||
- name: Set up Pip cache
|
- name: Set up Pip cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
id: pip-cache
|
id: pip-cache
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
|
|
@ -30,7 +30,7 @@ jobs:
|
||||||
- name: Install Poetry
|
- name: Install Poetry
|
||||||
run: python -m pip install poetry
|
run: python -m pip install poetry
|
||||||
- name: Set up Poetry cache
|
- name: Set up Poetry cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
id: poetry-cache
|
id: poetry-cache
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pypoetry/virtualenvs
|
path: ~/.cache/pypoetry/virtualenvs
|
||||||
|
|
@ -48,17 +48,17 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Validate links in Markdown files
|
- name: Validate links in Markdown files
|
||||||
uses: JustinBeckwith/linkinator-action@v1
|
uses: JustinBeckwith/linkinator-action@v1
|
||||||
with:
|
with:
|
||||||
retry: true
|
retry: true
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
- name: Set Poetry cache
|
- name: Set Poetry cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
id: poetry-cache
|
id: poetry-cache
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pypoetry/virtualenvs
|
path: ~/.cache/pypoetry/virtualenvs
|
||||||
|
|
@ -83,9 +83,9 @@ jobs:
|
||||||
if: ${{ github.ref=='refs/heads/main' && github.event_name!='pull_request' }}
|
if: ${{ github.ref=='refs/heads/main' && github.event_name!='pull_request' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
- name: Check release
|
- name: Check release
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue