2021-06-23 16:38:59 +00:00
|
|
|
name: Translations Validation
|
2021-06-22 23:46:27 +00:00
|
|
|
on:
|
2021-07-08 18:58:04 +00:00
|
|
|
workflow_dispatch:
|
2021-06-22 23:46:27 +00:00
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- "translations/**"
|
|
|
|
env:
|
|
|
|
GOPROXY: https://proxy.golang.org
|
2024-02-19 09:02:01 +00:00
|
|
|
GO_VERSION: '1.22.0'
|
2022-03-12 00:25:30 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-06-22 23:46:27 +00:00
|
|
|
jobs:
|
|
|
|
unit_test:
|
2021-06-23 16:38:59 +00:00
|
|
|
runs-on: ubuntu-20.04
|
2021-06-22 23:46:27 +00:00
|
|
|
steps:
|
2023-10-23 18:09:25 +00:00
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
2023-12-11 18:36:43 +00:00
|
|
|
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
|
2021-06-22 23:46:27 +00:00
|
|
|
with:
|
|
|
|
go-version: ${{env.GO_VERSION}}
|
2022-10-29 15:22:24 +00:00
|
|
|
cache-dependency-path: ./go.sum
|
2021-06-22 23:46:27 +00:00
|
|
|
- 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
|