Skip to content

Commit

Permalink
update go version
Browse files Browse the repository at this point in the history
  • Loading branch information
cxjava authored Feb 14, 2023
1 parent 9c2f4ab commit 845032d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 33 deletions.
26 changes: 4 additions & 22 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Build & Test

on:
push:
branches:
Expand All @@ -7,35 +8,16 @@ on:
branches:
- main
workflow_dispatch:
inputs:
upx_version:
description: 'UPX version'
required: true
default: '3.96'

jobs:
ci:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
go: [1.18.x]
os: [ubuntu-latest]
name: Go ${{ matrix.go }} in ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Environment
run: |
go version
go env
- name: Cache go module
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-
go-version: "1.20"
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down
11 changes: 0 additions & 11 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,6 @@ archives:
format_overrides:
- goos: windows
format: zip
replacements:
amd64: 64-bit
386: 32-bit
arm: ARM
arm64: ARM64
darwin: macOS
linux: Linux
windows: Windows
openbsd: OpenBSD
netbsd: NetBSD
freebsd: FreeBSD
checksum:
name_template: "checksums.txt"
release:
Expand Down

0 comments on commit 845032d

Please sign in to comment.