Skip to content

Spannerを導入

Spannerを導入 #5

Workflow file for this run

name: CI
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: corretto
java-version: 17
cache: gradle
- uses: google-github-actions/setup-gcloud@v1
- name: start database
run: |
make init_spanner_emulator
- name: backend test
run: |
./gradlew test -x build
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: corretto
java-version: 17
cache: gradle
- name: backend lint
run: |
./gradlew spotlessCheck
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: corretto
java-version: 17
cache: gradle
- name: backend build
run: |
./gradlew build