diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 74b94a0..37dc1a9 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,4 +1,4 @@ -name: Go +name: smtpd on: push: @@ -11,7 +11,7 @@ on: jobs: build: - name: Build + name: Build and Test runs-on: ubuntu-latest steps: @@ -21,16 +21,11 @@ jobs: go-version: ^1.13 id: go - - name: Check out code into the Go module directory + - name: Check out the code uses: actions/checkout@v2 - name: Get dependencies - run: | - go get -v -t -d ./... - if [ -f Gopkg.toml ]; then - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh - dep ensure - fi + run: go get -v -t -d ./... - name: Build run: go build -v .