github actions是什么意思;“安装在本地光盘上”;

github actions是什么意思;“安装在本地光盘上”;,github,github-actions,Github,Github Actions,我正在玩gihub操作,希望使用此资源设置一些许可证检查['https://github.com/marketplace/actions/licensed-ci]. 我为我的golang项目设置了它,并创建了以下工作流: name: "Update and check dependency data" on: push: branches: [main] jobs: licensed: runs-on: ubuntu-latest ste

我正在玩gihub操作,希望使用此资源设置一些许可证检查['https://github.com/marketplace/actions/licensed-ci]. 我为我的golang项目设置了它,并创建了以下工作流:

name: "Update and check dependency data"

on:
  push:
    branches: [main]


jobs:
  licensed:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-go@v2
      - uses: actions/checkout@v1
      - uses: jonabc/setup-licensed@v1
        with:
         version: 2.x
         
      - run: licensed status
现在,它运行并通过了测试。问题是它实际上还没有进行任何扫描

我可以从许可工具的讨论中了解到这是由以下原因造成的:

 licensed looks at dependencies that are installed on the local disk. You'll need to ensure that you've installed dependencies locally before running any licensed commands - i.e. bundle install or whatever local scripting you have to accomplish the same.
这让我有点困惑,当运行github操作时,在“本地磁盘”中安装东西意味着什么

我想这是因为我需要运行命令,在我的工作流文件中安装我的golang依赖项。也许是运行类似于:

  - run: go get "golang.org/x/tools/go/loader"
但是,将其添加到我的工作流中没有任何效果。 我可能需要做什么