Skip to content

Commit

Permalink
upgrade workflows to latest actions and go 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
IrineSistiana committed Aug 14, 2024
1 parent c242b13 commit bfba651
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.21'
go-version: '1.23'
check-latest: true
cache: true

- name: Test
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
env:
CGO_ENABLED: '0'

- name: Publish
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: './release/mosdns*.zip'
prerelease: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bfba651

Please sign in to comment.