name: ci
on: push
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: checkout
        if: success()
        uses: actions/checkout@v1
        with:
          ref: master
      - name: checkout-master
        if: success()
        run: git checkout master
      - name: checkout
        uses: actions/checkout@v1
      - name: setup
        if: success()
        uses: actions/setup-go@v1
        with:
          go-version: 1.13.7
      - name: ci
        if: success()
        run: make ci
      - name: codecov
        if: success()
        run: make codecov
        env:
          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
      - name: docker
        if: success()
        run: bash .github/scripts/docker.bash
        env:
          DOCKER_BUILD_MAKE_TARGET: dockerbuildbuf
          DOCKER_IMAGE: bufbuild/buf
          DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
          DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
          DOCKER_LATEST_BRANCH: master
          DOCKER_VERSION_TAG_PREFIX: v

name: ci
on: push
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: checkout
        if: success()
        uses: actions/checkout@v1
        with:
          ref: master
      - name: checkout-master
        if: success()
        run: git checkout master
      - name: checkout
        uses: actions/checkout@v1
      - name: setup
        if: success()
        uses: actions/setup-go@v1
        with:
          go-version: 1.14.0
      - name: ci
        if: success()
        run: make ci
      - name: codecov
        if: success()
        run: make codecov
        env:
          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
      - name: docker
        if: success()
        run: bash .github/scripts/docker.bash
        env:
          DOCKER_BUILD_MAKE_TARGET: dockerbuildbuf
          DOCKER_IMAGE: bufbuild/buf
          DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
          DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
          DOCKER_LATEST_BRANCH: master
          DOCKER_VERSION_TAG_PREFIX: v

Update workflow for go 1.14
Update workflow for go 1.14
