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

2
go.mod
View File

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