Skip to content

remove vendor instruction #9

remove vendor instruction

remove vendor instruction #9

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
with:
fetch-depth: 0
- 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'
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: Configure Git User
run: |
git config --global user.name "GitHub Actions Bot"
git config --global user.email "[email protected]"
- name: Run tests
run: |
go test -v -mod=vendor ./...
./integrationtest.sh