changes to docker pipelines (autobuilds disabled on Docker Hub)

This commit is contained in:
Łukasz Budnik
2021-08-20 14:12:34 +02:00
parent 3af4030d87
commit 0ae522a43e
4 changed files with 67 additions and 26 deletions

View File

@@ -1,25 +1,20 @@
name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.3.4
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Build
run: go build -v ./...
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Test
run: go test -v ./...