From bfba6512a025d3cd685a1f276e285b016ade5f81 Mon Sep 17 00:00:00 2001 From: Irine Sistiana <49315432+IrineSistiana@users.noreply.github.com> Date: Wed, 14 Aug 2024 22:18:48 +0800 Subject: [PATCH] upgrade workflows to latest actions and go 1.23 --- .github/workflows/release.yml | 8 ++++---- .github/workflows/test.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5db788180..69f35b580 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '1.21' + go-version: '1.23' check-latest: true cache: true @@ -23,9 +23,9 @@ jobs: run: go test -race -v ./... - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: '3.8' + python-version: '3.11' - name: Build run: python ./release.py @@ -33,7 +33,7 @@ jobs: CGO_ENABLED: '0' - name: Publish - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: './release/mosdns*.zip' prerelease: true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 030c72141..548090087 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,11 +9,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.23' check-latest: true cache: true