Skip to content

Commit

Permalink
Upgrade Golang to 1.17 (#6)
Browse files Browse the repository at this point in the history
* Upgrade Golang to 1.17

* Support m1
  • Loading branch information
corrupt952 authored Nov 6, 2021
1 parent e246deb commit 30a4f6f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
10 changes: 5 additions & 5 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM circleci/golang:1.15
FROM golang:1.17

RUN sudo apt-get update && \
sudo apt-get install -y --no-install-recommends tmux && \
sudo apt-get clean && \
sudo rm -rf /var/lib/apt/lists/*
RUN apt-get update && \
apt-get install -y --no-install-recommends tmux && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

ENV XDG_CACHE_HOME=/tmp/.cache
ENV GO111MODULE on
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
tags:
- '*'
- "*"

permissions:
contents: write
Expand All @@ -18,7 +18,7 @@ jobs:

- uses: actions/setup-go@v2
with:
go-version: 1.15
go-version: 1.17

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2

- 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.17

- name: Test
run: make test
- name: Test
run: make test
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ builds:
- darwin
goarch:
- amd64
- arm64

# Packging only binary
# FYI: https://goreleaser.com/customization/archive/#packaging-only-the-binaries
Expand Down

0 comments on commit 30a4f6f

Please sign in to comment.