Skip to content

Commit

Permalink
Refactor version
Browse files Browse the repository at this point in the history
  • Loading branch information
nodece committed Jul 13, 2024
1 parent a1c0974 commit 0220fb8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,17 @@

name: CI
on: [pull_request]

env:
GO_VERSION: [ '1.20', '1.21', '1.22' ]
GOLANGCI_LINT_VERSION: v1.51.2

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.20', '1.21', '1.22' ]
go-version: ${{ env.GO_VERSION }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v5
Expand All @@ -42,13 +47,13 @@ jobs:
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.51
version: ${{ env.GOLANGCI_LINT_VERSION }}

integration-tests:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.20', '1.21', '1.22' ]
go-version: ${{ env.GO_VERSION }}
steps:
- uses: actions/checkout@v3
- name: clean docker cache
Expand Down

0 comments on commit 0220fb8

Please sign in to comment.