Skip to content

Libvirt and golanglint-ci issues #3462

Closed Answered by bombsimon
benschlueter asked this question in Q&A
Discussion options

You must be logged in to vote

The Go package libvirt.org/go/libvirt provides CGo binding from the OS native Libvirt API. This means that you need to install libvirt for your code to compile and be able to lint. Judging by your provided yaml file you're not doing this so you need to add steps for this. I'm not familiar with how to install this dependency but in its simplest form, for an OS like Ubuntu all you would have to do is add the following steps before linting:

- name: Install [some dependency]
  run: sudo apt-get install -y [dependency]

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@benschlueter
Comment options

@benschlueter
Comment options

Answer selected by benschlueter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants