Skip to content

Node.js 16 actions are deprecated #966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
juev opened this issue Feb 9, 2024 · 2 comments
Closed
3 tasks done

Node.js 16 actions are deprecated #966

juev opened this issue Feb 9, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@juev
Copy link

juev commented Feb 9, 2024

Welcome

  • Yes, I understand that the GitHub action repository is not the repository of golangci-lint itself.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've included all information below (version, config, etc).

Description of the problem

There is a pipepline using the latest version of golangci-lint-action. When you run it, warnings are displayed in the Github interface:

Screenshot 2024-02-09 at 10 09 57

First:

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Version of golangci-lint

last

Version of the GitHub Action

golangci/golangci-lint-action@v3

Workflow file

name: golangci-lint
on:
  push:
    branches:
      - '**'
  pull_request:
    branches:
      - '**'
  workflow_dispatch:

permissions:
  contents: read
jobs:
  golangci:
    name: lint
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-go@v5
        with:
          go-version: '1.21'
      - uses: actions/checkout@v4
      - name: golangci-lint
        uses: golangci/golangci-lint-action@v3
        with:
          version: latest

Go version

1.21

Code example or link to a public repository

https://github.com/juev/wireproxy

@juev
Copy link
Author

juev commented Feb 9, 2024

Update to v3.7.0 have the same warnings:
https://github.com/juev/wireproxy/actions/runs/7840857681

@ldez
Copy link
Member

ldez commented Feb 9, 2024

duplicate of #953

@ldez ldez closed this as completed Feb 9, 2024
@ldez ldez added the duplicate This issue or pull request already exists label Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants