diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..64284b9 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +--- +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dae3b65..a14416e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,7 @@ jobs: echo "::set-output name=go_cache::$(go env GOCACHE)" - name: Cache the build cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.vars.outputs.go_cache }} key: ${{ runner.os }}-${{ matrix.go }}-go-ci-${{ hashFiles('**/go.sum') }} @@ -83,7 +83,7 @@ jobs: ${{ matrix.XCADDY_BIN_PATH }} version - name: Publish Build Artifact - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: xcaddy_${{ runner.os }}_go${{ matrix.go }}_${{ steps.vars.outputs.short_sha }} path: ${{ matrix.XCADDY_BIN_PATH }} @@ -98,7 +98,7 @@ jobs: - name: checkout uses: actions/checkout@v3 - - uses: goreleaser/goreleaser-action@v2 + - uses: goreleaser/goreleaser-action@v4 with: version: latest args: check diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6eae04e..c1c1090 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,12 +16,12 @@ jobs: steps: - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ matrix.go }} - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 @@ -81,7 +81,7 @@ jobs: git verify-tag "${{ steps.vars.outputs.version_tag }}" || exit 1 - name: Cache the build cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.vars.outputs.go_cache }} key: ${{ runner.os }}-go${{ matrix.go }}-release-${{ hashFiles('**/go.sum') }} @@ -90,7 +90,7 @@ jobs: # GoReleaser will take care of publishing those artifacts into the release - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v4 with: version: latest args: release --rm-dist