diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 9383a3c..8ebc8dc 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -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