From 622a3bfd0ec619712c86276f863ce89cac9d745d Mon Sep 17 00:00:00 2001 From: Aleksandr Baryshnikov Date: Fri, 29 Dec 2023 10:55:00 +0800 Subject: [PATCH] update dependencies and build workflow --- .github/workflows/go.yml | 16 ++++++++-------- go.mod | 17 +++++++++-------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index fb717dc..3cec7b6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,19 +10,19 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v5 with: - go-version: '^1.19' + go-version: '^1.21' id: go - name: Install deps run: sudo apt install -y python3 pandoc - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: lfs: true fetch-depth: 0 @@ -37,15 +37,15 @@ jobs: pandoc MANUAL.md -s -t man -o trusted-cgi.1 pandoc --metadata title="Trusted-CGI manual" MANUAL.md -s --include-in-header=./docs/assets/github-pandoc.css --toc -o MANUAL.html gzip trusted-cgi.1 - - uses: azure/docker-login@v1 + - uses: docker/login-action@v3 with: username: 'reddec' password: ${{ secrets.DOCKERIO_PASSWORD }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v5 with: version: latest - args: release --rm-dist --release-footer _footer.md --release-header release-note.md + args: release --clean --release-footer _footer.md --release-header release-note.md env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/go.mod b/go.mod index 2020037..1acf8a6 100644 --- a/go.mod +++ b/go.mod @@ -1,26 +1,27 @@ module github.com/reddec/trusted-cgi -go 1.19 +go 1.21 require ( - github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 + github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9 github.com/golang-jwt/jwt v3.2.2+incompatible - github.com/google/uuid v1.3.0 + github.com/google/uuid v1.5.0 github.com/jessevdk/go-flags v1.5.0 github.com/reddec/dfq v0.0.0-20200905054932-718696ac508f github.com/reddec/jsonrpc2 v0.1.21 github.com/robfig/cron v1.2.0 github.com/stretchr/testify v1.5.1 - github.com/tinylib/msgp v1.1.8 - golang.org/x/crypto v0.4.0 + github.com/tinylib/msgp v1.1.9 + golang.org/x/crypto v0.17.0 ) require ( github.com/davecgh/go-spew v1.1.0 // indirect - github.com/gorilla/websocket v1.5.0 // indirect + github.com/gorilla/websocket v1.5.1 // indirect github.com/philhofer/fwd v1.1.2 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - golang.org/x/sys v0.3.0 // indirect - golang.org/x/term v0.3.0 // indirect + golang.org/x/net v0.19.0 // indirect + golang.org/x/sys v0.15.0 // indirect + golang.org/x/term v0.15.0 // indirect gopkg.in/yaml.v2 v2.2.8 // indirect )