From a2aa211d8267aaa137ec282bd6e8aff5cc2be0b1 Mon Sep 17 00:00:00 2001 From: "Tada, Tadashi" Date: Thu, 16 Jan 2020 21:41:59 +0900 Subject: [PATCH 1/3] add CI on GitHub Actions --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..e4cac10e1 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,16 @@ +name: CI +on: [push, pull_request] +env: + TZ: /usr/share/zoneinfo/Asia/Tokyo + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: setup + uses: eregon/use-ruby-action@master + with: + ruby-version: 2.7 + - name: run tests + run: ./tutorial/retrospectives/test.sh From 9974c7b3960be40ed2189919e18effa81242c6bb Mon Sep 17 00:00:00 2001 From: "Tada, Tadashi" Date: Thu, 16 Jan 2020 21:48:05 +0900 Subject: [PATCH 2/3] indent --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4cac10e1..678c69135 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,10 +7,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: setup - uses: eregon/use-ruby-action@master - with: - ruby-version: 2.7 - - name: run tests - run: ./tutorial/retrospectives/test.sh + - uses: actions/checkout@v2 + - name: setup + uses: eregon/use-ruby-action@master + with: + ruby-version: 2.7 + - name: run tests + run: ./tutorial/retrospectives/test.sh From 4dba8dc792779d1b2a2d3e71889fd35e117492d3 Mon Sep 17 00:00:00 2001 From: "Tada, Tadashi" Date: Thu, 16 Jan 2020 21:53:29 +0900 Subject: [PATCH 3/3] move TZ into run test --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 678c69135..ab096fd55 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,16 +1,16 @@ name: CI on: [push, pull_request] -env: - TZ: /usr/share/zoneinfo/Asia/Tokyo jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: setup + - name: setup ruby uses: eregon/use-ruby-action@master with: ruby-version: 2.7 - name: run tests + env: + TZ: Asia/Tokyo run: ./tutorial/retrospectives/test.sh