Skip to content

Commit

Permalink
Set min go version to 1.22, add test for min version
Browse files Browse the repository at this point in the history
  • Loading branch information
arvvoid committed Sep 25, 2024
1 parent 122bc48 commit 983d14c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
21 changes: 20 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,23 @@ jobs:

- name: Test
run: go test -v ./...


go122:
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.22
uses: actions/setup-go@v4
with:
go-version: '1.22'

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/l-d-t/fiskalhrgo

go 1.23.1
go 1.22

require (
github.com/beevik/etree v1.4.1
Expand Down

0 comments on commit 983d14c

Please sign in to comment.