chore: update go version

pull/14/head v0.2.4
Karan Sharma 2021-02-18 19:48:29 +05:30
parent 0075911319
commit 3be58442a4
2 changed files with 8 additions and 13 deletions

View File

@ -3,36 +3,31 @@ name: goreleaser
on:
push:
tags:
- '*'
- "*"
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Set up Go
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
-
name: Login to GitHub Container Registry
go-version: 1.16
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_GORELEASER_TOKEN }}
-
name: Install Snapcraft and Log In
- name: Install Snapcraft and Log In
uses: samuelmeuli/action-snapcraft@v1
with:
snapcraft_token: ${{ secrets.SNAPCRAFT_TOKEN }}
-
name: Run GoReleaser
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/mr-karan/doggo
go 1.15
go 1.16
require (
github.com/fatih/color v1.10.0