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:
Denis Renning 2023-03-17 02:22:20 +01:00 committed by GitHub
parent 99485504d0
commit 4c76d4eea9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 22 deletions

View file

@ -2,7 +2,7 @@ name: Shaarli CI
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
php: php:
runs-on: ubuntu-18.04 runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -20,7 +20,7 @@ jobs:
run: sudo apt-get install gettext run: sudo apt-get install gettext
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Setup PHP - name: Setup PHP
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
@ -60,13 +60,13 @@ jobs:
run: make all_tests run: make all_tests
node: node:
runs-on: ubuntu-18.04 runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: '14.x' node-version: '14.x'
@ -83,15 +83,15 @@ jobs:
run: make sasslint run: make sasslint
python: python:
runs-on: ubuntu-18.04 runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
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:
node-version: 3.8 python-version: 3.8
- name: Install dependencies - name: Install dependencies
run: pip install mkdocs run: pip install mkdocs

View file

@ -7,12 +7,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v2
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v1 uses: docker/login-action@v2
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
@ -26,7 +26,7 @@ jobs:
- name: Build and push - name: Build and push
id: docker_build id: docker_build
uses: docker/build-push-action@v2 uses: docker/build-push-action@v3
with: with:
push: true push: true
tags: | tags: |

View file

@ -13,12 +13,12 @@ jobs:
- name: Get the tag name - name: Get the tag name
run: echo "REF=${GITHUB_REF##*/}" >> $GITHUB_ENV run: echo "REF=${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v2
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v1 uses: docker/login-action@v2
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
@ -32,7 +32,7 @@ jobs:
- name: Build and push - name: Build and push
id: docker_build id: docker_build
uses: docker/build-push-action@v2 uses: docker/build-push-action@v3
with: with:
push: true push: true
tags: | tags: |

View file

@ -40,11 +40,12 @@ Supported PHP versions:
Version | Status | Shaarli compatibility Version | Status | Shaarli compatibility
:---:|:---:|:---: :---:|:---:|:---:
8.0 | Supported | Yes 8.1 | Supported | Yes
7.4 | Supported | Yes 8.0 | EOL: 2023-11-26| Yes
7.3 | Supported | Yes 7.4 | EOL: 2022-11-28 | Yes
7.2 | Supported | Yes 7.3 | EOL: 2021-12-06 | Yes (up to Shaarli 0.12.1)
7.1 | Supported | Yes 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) 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.6 | EOL: 2018-12-31 | Yes (up to Shaarli 0.10.x)
5.5 | EOL: 2016-07-10 | Yes 5.5 | EOL: 2016-07-10 | Yes