diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3a6ce54..d1631e9 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,9 +10,6 @@ jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - go: [ '1.20', '1.21' ] steps: - name: Cache go deps uses: actions/cache@v3 @@ -25,10 +22,10 @@ jobs: - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache: true - go-version: ${{ matrix.go }} + go-version: 1.22 env: GOFLAGS: -mod=mod diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 899480d..8ea6beb 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: 1.21 + go-version: 1.22 - uses: actions/checkout@v4 @@ -38,7 +38,7 @@ jobs: --proto_path=. - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: args: --enable lll version: latest diff --git a/go.mod b/go.mod index 2f269ae..89e429b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/julieta-311/proglog -go 1.21 +go 1.22 require ( github.com/casbin/casbin v1.9.1