mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
34 lines
924 B
YAML
34 lines
924 B
YAML
on: [push, pull_request]
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: "1.20.x"
|
|
- name: Check that no non-test files import Ginkgo or Gomega
|
|
run: .github/workflows/no_ginkgo.sh
|
|
- name: Check that go.mod is tidied
|
|
run: |
|
|
cp go.mod go.mod.orig
|
|
cp go.sum go.sum.orig
|
|
go mod tidy
|
|
diff go.mod go.mod.orig
|
|
diff go.sum go.sum.orig
|
|
- name: Check that go mod vendor works
|
|
run: |
|
|
cd integrationtests/gomodvendor
|
|
go mod vendor
|
|
golangci-lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: "1.20.x"
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v3
|
|
with:
|
|
version: v1.52.2
|