Skip to content

Commit

Permalink
Fix linter and integration test actions
Browse files Browse the repository at this point in the history
  • Loading branch information
PapaCharlie committed Feb 2, 2024
1 parent b597b74 commit 67ce8d9
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 11 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,32 @@
name: integration_test
on: [push, pull_request]

on:
push:
branches:
- master
pull_request:

jobs:
integration_test:
name: integration_test
strategy:
matrix:
zk-version: [3.5.8, 3.6.3]
go-version: [1.21.6]
zk-version: ["3.5.8", "3.6.3"]
go-version: ["1.21"]
runs-on: ubuntu-latest
steps:
- name: Go ${{ matrix.go }} setup
- name: Go ${{ matrix.go-version }} setup
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}

go-version: ${{ matrix.go-version }}
- name: Setup Java 14
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 14

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Test code
run: make test ZK_VERSION=${{ matrix.zk-version }}
Expand Down
20 changes: 16 additions & 4 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@

name: lint
on: [pull_request]

on:
push:
branches:
- master
pull_request:

jobs:
lint:
name: lint
strategy:
matrix:
go-version: ["1.21"]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: Install go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Lint code
uses: reviewdog/action-golangci-lint@v2
uses: golangci/golangci-lint-action@v3

0 comments on commit 67ce8d9

Please sign in to comment.