minikube/.github/workflows/translations.yml

33 lines
810 B
YAML
Raw Normal View History

2021-06-23 16:38:59 +00:00
name: Translations Validation
on:
workflow_dispatch:
pull_request:
paths:
- "translations/**"
env:
GOPROXY: https://proxy.golang.org
2024-02-19 09:02:01 +00:00
GO_VERSION: '1.22.0'
permissions:
contents: read
jobs:
unit_test:
2021-06-23 16:38:59 +00:00
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: ${{env.GO_VERSION}}
cache-dependency-path: ./go.sum
- name: Install libvirt
run: |
sudo apt-get update
sudo apt-get install -y libvirt-dev
- name: Download Dependencies
run: go mod download
- name: Unit Test
env:
TESTSUITE: unittest
run: make test
continue-on-error: false