Skip to content

ci: update github actions #2

ci: update github actions

ci: update github actions #2

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: 'latest'
- name: Run lint
run: make lint
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 50
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Go mod vendor
run: go mod vendor
- name: Run tests
run: |
go test -v -mod=vendor ./...
./integrationtest.sh