-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #110 from YukiOnishi1129/feature/test-batch
Feature/test batch
- Loading branch information
Showing
151 changed files
with
51,578 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: article_service_pr_check | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
- "develop" | ||
- "feature/*" | ||
- "feat/*" | ||
- "YL-*" | ||
paths: | ||
- "micro-service/article-service/**" | ||
- ".github/workflows/article_service_pr_check.yml" | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
go: ['1.22'] | ||
|
||
# services: | ||
# postgres: | ||
# image: docker.io/postgres:16-alpine | ||
# env: | ||
# POSTGRES_USER: postgres | ||
# POSTGRES_PASSWORD: root | ||
# POSTGRES_DB: password | ||
# ports: | ||
# - 5432:5432 | ||
|
||
defaults: | ||
run: | ||
working-directory: ./micro-service/article-service | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
cache: false | ||
|
||
- name: Install dependencies | ||
run: go mod download | ||
|
||
- name: Go Lint | ||
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest && make lint | ||
|
||
# - name: Go Test | ||
# run: go test -v ./... | ||
# env: | ||
# POSTGRES_USER: root | ||
# POSTGRES_PASSWORD: password | ||
# POSTGRES_DB: postgres | ||
|
||
- name: Go Build | ||
run: go build -v ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: bff_apollo_gateway_pr_check | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
- "develop" | ||
- "feature/*" | ||
- "feat/*" | ||
- "YL-*" | ||
paths: | ||
- "web/admin/**" | ||
- ".github/workflows/bff_apollo_gateway_pr_check.yml" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
|
||
defaults: | ||
run: | ||
working-directory: ./bff/apollo-gateway | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: npm | ||
cache-dependency-path: ./web/admin/package-lock.json | ||
|
||
- name: Install dependencies | ||
run: npm install --frozen-lockfile | ||
|
||
- name: Lint | ||
run: npm run lint | ||
|
||
# - name: Test | ||
# run: npm run test | ||
|
||
- name: Build | ||
run: npm run build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: bookmark_service_pr_check | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
- "develop" | ||
- "feature/*" | ||
- "feat/*" | ||
- "YL-*" | ||
paths: | ||
- "micro-service/bookmark-service/**" | ||
- ".github/workflows/bookmark_service_pr_check.yml" | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
go: ['1.22'] | ||
|
||
# services: | ||
# postgres: | ||
# image: docker.io/postgres:16-alpine | ||
# env: | ||
# POSTGRES_USER: postgres | ||
# POSTGRES_PASSWORD: root | ||
# POSTGRES_DB: password | ||
# ports: | ||
# - 5432:5432 | ||
|
||
defaults: | ||
run: | ||
working-directory: ./micro-service/bookmark-service | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
cache: false | ||
|
||
- name: Install dependencies | ||
run: go mod download | ||
|
||
- name: Go Lint | ||
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest && make lint | ||
|
||
# - name: Go Test | ||
# run: go test -v ./... | ||
# env: | ||
# POSTGRES_USER: root | ||
# POSTGRES_PASSWORD: password | ||
# POSTGRES_DB: postgres | ||
|
||
- name: Go Build | ||
run: go build -v ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: feed_service_pr_check | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
- "develop" | ||
- "feature/*" | ||
- "feat/*" | ||
- "YL-*" | ||
paths: | ||
- "micro-service/feed-service/**" | ||
- ".github/workflows/feed_service_pr_check.yml" | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
go: ['1.22'] | ||
|
||
# services: | ||
# postgres: | ||
# image: docker.io/postgres:16-alpine | ||
# env: | ||
# POSTGRES_USER: postgres | ||
# POSTGRES_PASSWORD: root | ||
# POSTGRES_DB: password | ||
# ports: | ||
# - 5432:5432 | ||
|
||
defaults: | ||
run: | ||
working-directory: ./micro-service/feed-service | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
cache: false | ||
|
||
- name: Install dependencies | ||
run: go mod download | ||
|
||
- name: Go Lint | ||
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest && make lint | ||
|
||
# - name: Go Test | ||
# run: go test -v ./... | ||
# env: | ||
# POSTGRES_USER: root | ||
# POSTGRES_PASSWORD: password | ||
# POSTGRES_DB: postgres | ||
|
||
- name: Go Build | ||
run: go build -v ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: platform_service_pr_check | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
- "develop" | ||
- "feature/*" | ||
- "feat/*" | ||
- "YL-*" | ||
paths: | ||
- "micro-service/platform-service/**" | ||
- ".github/workflows/platform_service_pr_check.yml" | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
go: ['1.22'] | ||
|
||
# services: | ||
# postgres: | ||
# image: docker.io/postgres:16-alpine | ||
# env: | ||
# POSTGRES_USER: postgres | ||
# POSTGRES_PASSWORD: root | ||
# POSTGRES_DB: password | ||
# ports: | ||
# - 5432:5432 | ||
|
||
defaults: | ||
run: | ||
working-directory: ./micro-service/platform-service | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
cache: false | ||
|
||
- name: Install dependencies | ||
run: go mod download | ||
|
||
- name: Go Lint | ||
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest && make lint | ||
|
||
# - name: Go Test | ||
# run: go test -v ./... | ||
# env: | ||
# POSTGRES_USER: root | ||
# POSTGRES_PASSWORD: password | ||
# POSTGRES_DB: postgres | ||
|
||
- name: Go Build | ||
run: go build -v ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: user_service_pr_check | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
- "develop" | ||
- "feature/*" | ||
- "feat/*" | ||
- "YL-*" | ||
paths: | ||
- "micro-service/user-service/**" | ||
- ".github/workflows/user_service_pr_check.yml" | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
go: ['1.22'] | ||
|
||
# services: | ||
# postgres: | ||
# image: docker.io/postgres:16-alpine | ||
# env: | ||
# POSTGRES_USER: postgres | ||
# POSTGRES_PASSWORD: root | ||
# POSTGRES_DB: password | ||
# ports: | ||
# - 5432:5432 | ||
|
||
defaults: | ||
run: | ||
working-directory: ./micro-service/user-service | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
cache: false | ||
|
||
- name: Install dependencies | ||
run: go mod download | ||
|
||
- name: Go Lint | ||
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest && make lint | ||
|
||
# - name: Go Test | ||
# run: go test -v ./... | ||
# env: | ||
# POSTGRES_USER: root | ||
# POSTGRES_PASSWORD: password | ||
# POSTGRES_DB: postgres | ||
|
||
- name: Go Build | ||
run: go build -v ./... |
Oops, something went wrong.