Skip to content

Commit

Permalink
ci: improve ci
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
  • Loading branch information
sagikazarmark committed May 11, 2023
1 parent be7c7d8 commit a5d2e2b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
File renamed without changes.
20 changes: 16 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,28 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.17', '1.18', '1.19']
go: ['1.17', '1.18', '1.19', '1.20']

steps:
- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
with:
go-version: ${{ matrix.go }}

- name: Checkout code
uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2

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

dependency-review:
name: Dependency review
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'

steps:
- name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2

- name: Dependency Review
uses: actions/dependency-review-action@f46c48ed6d4f1227fb2d9ea62bf6bcbed315589e # v3.0.4

0 comments on commit a5d2e2b

Please sign in to comment.