Skip to content

ロードバランサの受け入れテストをデフォルトでスキップ (#1099) #1323

ロードバランサの受け入れテストをデフォルトでスキップ (#1099)

ロードバランサの受け入れテストをデフォルトでスキップ (#1099) #1323

Workflow file for this run

name: Tests
on: [push, pull_request]
env:
GOPROXY: https://proxy.golang.org
jobs:
lint-text:
name: lint-text
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Setup tools
run: |
make tools
- name: make lint-text
run: |
make lint-text
lint-go:
name: lint-go
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Setup tools
run: |
make tools
- name: make lint-go
run: |
# Explicitly set GOROOT to avoid golangci-lint/issues/3107
GOROOT=$(go env GOROOT)
export GOROOT
make lint-go
licenses-check:
name: licenses-check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Setup tools
run: make tools
- name: make go-licenses-check
run: make go-licenses-check
test:
name: test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-22.04, ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Setup tools
run: |
make tools
- name: make test
run: |
make test