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