Chore: bump actions/setup-go from 3 to 4

This commit is contained in:
Loyalsoldier 2023-03-17 23:23:45 +08:00
parent 03b709e5ac
commit 67b3167659
No known key found for this signature in database
GPG Key ID: 23829BBC1ACF2C90

View File

@ -12,11 +12,6 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup Go 1.x.y
uses: actions/setup-go@v3
with:
go-version: ^1.18
- name: Set variables
run: |
echo "RELEASE_NAME=Released on $(date +%Y%m%d%H%M)" >> $GITHUB_ENV
@ -59,6 +54,11 @@ jobs:
repository: cokebar/gfwlist2dnsmasq
path: gfwlist2dnsmasq
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: ./custom/go.mod
- name: Get geoip.dat relative files
run: |
wget https://github.com/Loyalsoldier/geoip/raw/release/geoip.dat