Skip to content

Bump docker/login-action from 2.2.0 to 3.0.0 (#81) #185

Bump docker/login-action from 2.2.0 to 3.0.0 (#81)

Bump docker/login-action from 2.2.0 to 3.0.0 (#81) #185

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go 3.x
uses: actions/setup-go@v4
with:
go-version: '^1.20'
- 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
- name: Build
run: go build -v .
- name: Test
run: go test -v ./...