From 725e3cbc43901e476f82d29844b50ee810ac8e22 Mon Sep 17 00:00:00 2001 From: Artem Sidorenko Date: Wed, 29 Mar 2023 10:09:11 +0200 Subject: [PATCH] CI: setup cinc WS in the GH actions --- .github/workflows/test.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..01d8a6b8 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,26 @@ +--- +name: "Tests" +on: + push: + branches: + - '*' + +jobs: + linting: + runs-on: ubuntu-latest + strategy: + matrix: + cinc_workstation_version: [ '22', '23' ] + steps: + - uses: actions/checkout@v3 + - uses: actions/cache@v3 + with: + path: | + .cache + key: ${{ runner.os }}-${{ matrix.cinc_workstation_version }} + restore-keys: | + ${{ runner.os }}-${{ matrix.cinc_workstation_version }} + - name: setup environment + run: | + mkdir -p .cache + curl -L https://omnitruck.cinc.sh/install.sh | sudo bash -s -- -P cinc-workstation -d .cache -v ${{ matrix.cinc_workstation_version }}