Files
warewulf/.github/actions/prepare/action.yml
Jonathon Anderson f3c74e4408 Upgrade actions/setup-go to v5
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-22 20:23:20 -07:00

32 lines
697 B
YAML

name: 'Prepare Warewulf'
description: 'Prepare environment and Warewulf source code for testing and building'
inputs:
go-version:
description: "go version"
required: true
runs:
using: "composite"
steps:
- name: Update apt
run: sudo apt update
shell: bash
- name: Install gpgme (dependency)
run: sudo apt-get install libgpgme-dev
shell: bash
- name: Setup go ${{ inputs.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go-version }}
cache: true
- name: Configure Warewulf
run: make config
shell: bash
- name: Prepare vendor directory
run: make vendor
shell: bash