From 9fdaf569d18c14dad8b9e25293e631e94ee2311f Mon Sep 17 00:00:00 2001 From: Helio Machado <0x2b3bfa0+git@googlemail.com> Date: Sun, 4 Jul 2021 05:02:46 +0200 Subject: [PATCH] Simplify test.yml (#157) --- .github/workflows/test.yml | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e8938e5c..5090e260 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,24 +1,11 @@ -on: - push: - pull_request: - workflow_dispatch: - +on: pull_request jobs: build: - name: Test runs-on: ubuntu-latest steps: - - - name: Install - uses: actions/setup-go@v2 - with: - go-version: ^1.16 - - - name: Checkout - uses: actions/checkout@v2 - - - name: Build - run: make build - - - name: Test - run: make test + - uses: actions/setup-go@v2 + with: + go-version: ^1.16 + - uses: actions/checkout@v2 + - run: make build + - run: make test