Skip to content

node12 is depreciated => use node16 instead  #182

Closed
@RobTillaart

Description

@RobTillaart

Describe the problem

https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

When linting a new library I got the following error message regarding the version of node.js to use

[lint](https://github.com/RobTillaart/PERIPUMP/actions/runs/3252047306/jobs/5345150366)
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout, arduino/arduino-lint-action, actions/checkout

See - https://github.com/RobTillaart/PERIPUMP/actions/runs/3252047306

I think this file might need an update

To reproduce

See - https://github.com/RobTillaart/PERIPUMP/actions/runs/3252047306

Expected behavior

that the error disappears?

'arduino/arduino-lint-action' version

arduino/arduino-lint-action@v1

Additional context

https://github.com/RobTillaart/PERIPUMP/blob/master/.github/workflows/arduino-lint.yml

name: Arduino-lint

on: [push, pull_request]
jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: arduino/arduino-lint-action@v1
        with:
          library-manager: update
          compliance: strict

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest version
  • My report contains all necessary details

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions