From 20ffbbcf457c64a5e4fc1ef9b1ecc9b461031bc5 Mon Sep 17 00:00:00 2001 From: shoce Date: Wed, 29 May 2024 01:25:14 +0530 Subject: [PATCH] go 1.22 --- .github/workflows/release.yaml | 2 +- go.mod | 2 +- pss.go | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f3dd87e..1e34108 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,7 +17,7 @@ jobs: echo "VERSION=$VERSION" >> $GITHUB_ENV - uses: actions/setup-go@v4 with: - go-version: '^1.21.1' + go-version: '^1.22.3' - name: go build run: GOOS=linux GOARCH=amd64 go build -o ${{ github.event.repository.name }}.linux.amd64 -trimpath -ldflags '-X main.Version='$VERSION - name: gzip diff --git a/go.mod b/go.mod index 263d686..930ebba 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/shoce/pss -go 1.21 +go 1.22 require github.com/mitchellh/go-ps v1.0.0 diff --git a/pss.go b/pss.go index 314c8b8..7afcfba 100644 --- a/pss.go +++ b/pss.go @@ -13,7 +13,6 @@ go mod tidy GoFmt GoBuildNull GoBuild -GoRelease GoRun */