Github actions: update node (#1928)
* update Node dependent actions * doc: update compatibility table Co-authored-by: William Desportes <williamdes@wdes.fr> Co-authored-by: nodiscc <nodiscc@gmail.com>
This commit is contained in:
parent
99485504d0
commit
4c76d4eea9
4 changed files with 23 additions and 22 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
@ -2,7 +2,7 @@ name: Shaarli CI
|
|||
on: [push, pull_request]
|
||||
jobs:
|
||||
php:
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
@ -20,7 +20,7 @@ jobs:
|
|||
run: sudo apt-get install gettext
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
|
@ -60,13 +60,13 @@ jobs:
|
|||
run: make all_tests
|
||||
|
||||
node:
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v1
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '14.x'
|
||||
|
||||
|
@ -83,15 +83,15 @@ jobs:
|
|||
run: make sasslint
|
||||
|
||||
python:
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
node-version: 3.8
|
||||
python-version: 3.8
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install mkdocs
|
||||
|
|
8
.github/workflows/docker-latest.yml
vendored
8
.github/workflows/docker-latest.yml
vendored
|
@ -7,12 +7,12 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
uses: docker/setup-qemu-action@v2
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
@ -26,7 +26,7 @@ jobs:
|
|||
|
||||
- name: Build and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
push: true
|
||||
tags: |
|
||||
|
|
8
.github/workflows/docker-tags.yml
vendored
8
.github/workflows/docker-tags.yml
vendored
|
@ -13,12 +13,12 @@ jobs:
|
|||
- name: Get the tag name
|
||||
run: echo "REF=${GITHUB_REF##*/}" >> $GITHUB_ENV
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
uses: docker/setup-qemu-action@v2
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
@ -32,7 +32,7 @@ jobs:
|
|||
|
||||
- name: Build and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
push: true
|
||||
tags: |
|
||||
|
|
|
@ -40,11 +40,12 @@ Supported PHP versions:
|
|||
|
||||
Version | Status | Shaarli compatibility
|
||||
:---:|:---:|:---:
|
||||
8.0 | Supported | Yes
|
||||
7.4 | Supported | Yes
|
||||
7.3 | Supported | Yes
|
||||
7.2 | Supported | Yes
|
||||
7.1 | Supported | Yes
|
||||
8.1 | Supported | Yes
|
||||
8.0 | EOL: 2023-11-26| Yes
|
||||
7.4 | EOL: 2022-11-28 | Yes
|
||||
7.3 | EOL: 2021-12-06 | Yes (up to Shaarli 0.12.1)
|
||||
7.2 | EOL: 2020-11-30 | Yes (up to Shaarli 0.12.1)
|
||||
7.1 | EOL: 2019-12-01 | Yes (up to Shaarli 0.12.1)
|
||||
7.0 | EOL: 2018-12-03 | Yes (up to Shaarli 0.10.x)
|
||||
5.6 | EOL: 2018-12-31 | Yes (up to Shaarli 0.10.x)
|
||||
5.5 | EOL: 2016-07-10 | Yes
|
||||
|
|
Loading…
Reference in a new issue