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-09-12 09:05:15 +00:00
|
|
|
GO_VERSION: '1.19.1'
|
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-08-22 18:22:45 +00:00
|
|
|
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
2022-08-29 18:18:00 +00:00
|
|
|
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f
|
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
|