Skip to content

Commit

Permalink
Go 1.17 (#27)
Browse files Browse the repository at this point in the history
* ⬆ Update to go 1.17

* 🏗 Replace unmaintained action

crazy-max/ghaction-docker-buildx has been archived. This commit replaces it as per the archival notice.

* 🏹 Add darwin-arm64 and windows-arm64

* 🔧 Fix build
  • Loading branch information
database64128 authored Aug 20, 2021
1 parent dba2ce6 commit 023a3d9
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ jobs:
id: get_version
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
uses: crazy-max/ghaction-docker-buildx@v1
with:
buildx-version: latest
qemu-version: latest
uses: docker/setup-buildx-action@v1
- name: Build the Docker image
run: |
docker login -u ${{secrets.DOCKER_USERNAME}} -p ${{secrets.DOCKER_PASSWORD}}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,14 @@ jobs:
goarch: arm
goarm: 7
# BEGIN Other architectures
- goos: darwin
goarch: arm64
- goos: linux
goarch: arm64
- goos: linux
goarch: riscv64
- goos: windows
goarch: arm64
# BEGIN MIPS
- goos: linux
goarch: mips64
Expand Down Expand Up @@ -96,7 +100,7 @@ jobs:
uses: actions/setup-go@v2
with:
stable: true
go-version: '1.16.7'
go-version: '1.17'

- name: Get project dependencies
run: go mod download
Expand Down
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
module github.com/Qv2ray/mmp-go

go 1.16
go 1.17

require (
github.com/qv2ray/smaead v0.0.0-20210102113335-316eca415c84
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3
)

require golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 // indirect
4 changes: 3 additions & 1 deletion release/friendly-filenames.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"darwin-amd64": { "friendlyName": "macos-64" },
"darwin-arm64": { "friendlyName": "macos-arm64-v8a" },
"dragonfly-amd64": { "friendlyName": "dragonfly-64" },
"freebsd-386": { "friendlyName": "freebsd-32" },
"freebsd-amd64": { "friendlyName": "freebsd-64" },
Expand All @@ -18,6 +19,7 @@
"openbsd-amd64": { "friendlyName": "openbsd-64" },
"windows-amd64": { "friendlyName": "windows-64" },
"windows-386": { "friendlyName": "windows-32" },
"windows-arm64": { "friendlyName": "windows-arm64-v8a" },
"windows-arm7": { "friendlyName": "windows-arm32-v7a" },
"android-arm64": { "friendlyName": "android-arm64-v8a" }
}
}
1 change: 1 addition & 0 deletions signal_other.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows

package main
Expand Down

0 comments on commit 023a3d9

Please sign in to comment.