diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 04e4b36..23595b0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,18 +12,12 @@ jobs: build: runs-on: ubuntu-latest steps: - - - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - name: Set up Go + - uses: actions/checkout@v2 + - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.14 - - - name: Cache Go modules + go-version: 1.16 + - name: Cache Go modules uses: actions/cache@v2.1.6 with: path: ~/go/pkg/mod @@ -35,15 +29,13 @@ jobs: # run: | # go mod tidy # go test -v ./... - - - name: Docker Login + - name: Docker Login uses: docker/login-action@v1 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - - - name: Run GoReleaser + - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 if: success() && startsWith(github.ref, 'refs/tags/') with: @@ -51,4 +43,3 @@ jobs: args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - diff --git a/go.mod b/go.mod index 3811850..dda51ff 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/six-ddc/plow -go 1.14 +go 1.16 require ( github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a