diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ab54a86..772ffab 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,20 +1,16 @@ name: Test -on: - push: - branches: - - !master +on: push jobs: - release: - runs-on: ubuntu-18.04 + build: + runs-on: ubuntu-108.04 + strategy: + matrix: + go: ['1.11', '1.12', '1.13'] + name: Go ${{ matrix.go }} sample steps: - - name: Source checkout - uses: actions/checkout@v1 - with: - fetch-depth: 1 - - name: Release - shell: bash - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - echo "Insert Go test & Build Here" ## Insert Go test & Build Here - npx semantic-release \ No newline at end of file + - uses: actions/checkout@master + - name: Setup go + uses: actions/setup-go@v1 + with: + go-version: ${{ matrix.go }} + - run: echo "i am groot" \ No newline at end of file diff --git a/.gitignore b/.gitignore index f1c181e..217eeb7 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,5 @@ # Output of the go coverage tool, specifically when used with LiteIDE *.out + +.DS_Store \ No newline at end of file