From 918310e118f364cbf945b1fdd87f3c5d7bf3be6d Mon Sep 17 00:00:00 2001 From: Ichinose Shogo Date: Thu, 29 Aug 2019 21:44:17 +0900 Subject: [PATCH] Hello GitHub Action --- .github/workflows/go.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..ad914c2 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,24 @@ +name: Go +on: [push, pull_request] +jobs: + + test: + name: Test + runs-on: ubuntu-latest + strategy: + matrix: + go: [ '1.11', '1.12' ] + + steps: + + - name: Set up Go ${{ matrix.go }} + uses: actions/setup-go@v1 + with: + go-version: ${{ matrix.go }} + id: go + + - name: Check out code into the Go module directory + uses: actions/checkout@v1 + + - name: Test + run: go test -v .