Skip to content

disk: Recreate the bootc disk image when passed certain parameters #45

disk: Recreate the bootc disk image when passed certain parameters

disk: Recreate the bootc disk image when passed certain parameters #45

Workflow file for this run

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
container: quay.io/centos/centos:stream9
steps:
- uses: actions/checkout@v4
- name: build
run: |
set -xeuo pipefail
dnf -y install 'dnf-command(config-manager)'
dnf -y config-manager --set-enabled crb
dnf -y install go-toolset libvirt-devel
# Because all the git clones are much less reliable
export GOPROXY=https://proxy.golang.org
go install github.com/onsi/ginkgo/v2/ginkgo@latest
make GOOPTS=-buildvcs=false
export PATH=$PATH:$HOME/go/bin
make integration_tests
- name: lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.58.2
export PATH=$PATH:$HOME/go/bin
make lint
- name: gofmt
run: |
test -z $(gofmt -l .)