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
|
2022-08-08 09:02:10 +00:00
|
|
|
GO_VERSION: '1.19'
|
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:
|
2022-03-25 22:21:45 +00:00
|
|
|
- uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5
|
2022-07-11 18:28:47 +00:00
|
|
|
- uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a
|
2021-06-22 23:46:27 +00:00
|
|
|
with:
|
|
|
|
go-version: ${{env.GO_VERSION}}
|
|
|
|
- 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
|