diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 776e829..52e7560 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -40,7 +40,7 @@ jobs: steps: - uses: actions/checkout@v3 with: - fetch-depth: 0 + fetch-depth: 0 - uses: actions/setup-go@v4 with: go-version: '${{ matrix.go }}' @@ -50,4 +50,5 @@ jobs: args: build --snapshot --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - run: ./dist/etc-hosts-proxy_linux_amd64_v1/etc-hosts-proxy --version + - name: Check the linux build version + run: ./dist/etc-hosts-proxy_linux_amd64_v1/etc-hosts-proxy --version diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bfc9d92..b237ca7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ permissions: contents: write jobs: - goreleaser: + release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -17,7 +17,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v4 with: - go-version: 1.20 + go-version: '1.20' - uses: goreleaser/goreleaser-action@v4 with: version: '~> 1.18'