From 09249f6c7d4db83a23efb874c8d25a04cda52c62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=20De=C5=BEulovi=C4=87?= Date: Wed, 25 Sep 2024 10:28:04 +0200 Subject: [PATCH] Refactor GitHub Actions workflow for cross-platform compatibility and add Go 1.18 test --- .github/workflows/test.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 33b4308..d7a88eb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,5 +33,25 @@ jobs: - name: Build run: go build -v ./... + - name: Test + run: go test -v ./... + + go118: + runs-on: ubuntu-latest + env: + CIS_P12_BASE64: ${{ secrets.CIS_P12_BASE64 }} + FISKALHRGO_TEST_CERT_PASSWORD: ${{ secrets.FISKALHRGO_TEST_CERT_PASSWORD }} + FISKALHRGO_TEST_CERT_OIB: ${{ secrets.FISKALHRGO_TEST_CERT_OIB }} + steps: + - uses: actions/checkout@v4 + + - name: Set up Go 1.18 + uses: actions/setup-go@v4 + with: + go-version: '1.18' + + - name: Build + run: go build -v ./... + - name: Test run: go test -v ./... \ No newline at end of file