toolbox/playbooks/shellcheck.yaml
Harry Míchal 493bc1ffd5 .zuul, playbooks/shellcheck: Use Go 1.13
Toolbox requires Go 1.13, while Fedora 30 only has Go 1.12.17.
Therefore the test environment needs to be upgraded to something more
recent.

Otherwise, the test fails with:
  note: module requires Go 1.13

The name of the go-md2man package changed in Fedora 31, and hence had
to be updated.

https://github.com/containers/toolbox/pull/442
2020-05-14 16:14:47 +02:00

22 lines
449 B
YAML

---
- hosts: all
tasks:
- name: Install requirements
become: yes
package:
name:
- golang
- golang-github-cpuguy83-md2man
- ninja-build
- meson
- ShellCheck
- name: Build
command: meson builddir
args:
chdir: '{{ zuul.project.src_dir }}'
- name: Test
command: ninja -C builddir test
args:
chdir: '{{ zuul.project.src_dir }}'