Update GH actions

* updating github actions
* cleaning the file from makefile
* bump to v1.45.2
This commit is contained in:
Talha Altınel
2022-05-04 10:49:47 +01:00
committed by GitHub
parent 5cffcdf5e4
commit c43e18b2d3
2 changed files with 26 additions and 10 deletions

View File

@@ -15,11 +15,16 @@ jobs:
SCYLLA_VERSION: 4.2.0
GOBIN: ./bin
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- name: Git Checkout
uses: actions/checkout@v3
- name: Install Go 1.17
uses: actions/setup-go@v3
with:
go-version: '^1.17'
- uses: actions/cache@v2
go-version: 1.17
- name: Cache Dependencies
uses: actions/cache@v3
id: gomod-cache
with:
path: ~/go/pkg/mod
@@ -27,8 +32,19 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- run: mkdir -p ${GOBIN}
- run: make get-deps get-tools
- run: make check
- run: make run-scylla
- run: make test
- name: Make Directory for GOBIN
run: mkdir -p ${GOBIN}
- name: Download Dependencies
run: make get-deps
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.45.2
- name: Run Scylla Container
run: make run-scylla
- name: Test
run: make test