Skip to content
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

"Unable to resolve action" for any action #433

Open
kalleguld opened this issue Dec 15, 2024 · 0 comments
Open

"Unable to resolve action" for any action #433

kalleguld opened this issue Dec 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kalleguld
Copy link

kalleguld commented Dec 15, 2024

Every action in an .yml file gives an error Unable to resolve action "actions/checkout@v4", repository or version not found - even fundamental stuff like - uses: actions/checkout@v4

To Reproduce

  • Make a file like this one (autogenerated by github.com):
name: .NET
on:
  push:
    branches: [ "main" ]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: Setup .NET
      uses: actions/setup-dotnet@v4
      with:
        dotnet-version: 9.0.x
    - name: Restore dependencies
      run: dotnet restore
    - name: Build
      run: dotnet build --no-restore

  • Open the Problems tab in VSCode.
  • Lines 9 and 11 now give an error:
[{
	"resource": "/[repo_path]/.github/workflows/dotnet.yml",
	"owner": "_generated_diagnostic_collection_name_#7",
	"severity": 8,
	"message": "Unable to resolve action `actions/checkout@v4`, repository or version not found",
	"startLineNumber": 9,
	"startColumn": 13,
	"endLineNumber": 9,
	"endColumn": 32
}]

Expected behavior
Expected no false errors.

Screenshots
Screenshot 2024-12-15 at 17 51 22

Extension Version
v0.27.0

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog 🗒
Development

No branches or pull requests

1 participant