diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 5040d11..7b5bd83 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -13,15 +13,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v3.4.0 - name: Build the container image - uses: docker/build-push-action@v3.0.0 + uses: docker/build-push-action@v4.0.0 with: repository: captcha - name: Push to GitHub Packages - uses: docker/build-push-action@v3.0.0 + uses: docker/build-push-action@v4.0.0 if: github.event_name == 'release' || github.event_name == 'push' with: username: ${{ github.actor }} @@ -52,7 +52,7 @@ jobs: if: | (github.event_name == 'release' || github.event_name == 'push') && contains(steps.check_dockerhub_credentials.outputs.missingsecrets, 'no') - uses: docker/build-push-action@v3.0.0 + uses: docker/build-push-action@v4.0.0 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index bc001ec..6a9112c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -30,9 +30,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v3.4.0 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: 1.16.x - name: Cache Go modules @@ -43,7 +43,7 @@ jobs: restore-keys: | ${{ runner.os }}-go- - name: Run GoReleaser (Dry Run) - uses: goreleaser/goreleaser-action@v2.7.0 + uses: goreleaser/goreleaser-action@v4.2.0 with: version: latest args: release --rm-dist --snapshot --skip-publish @@ -52,7 +52,7 @@ jobs: golangci-lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.4.0 - name: golangci-lint uses: golangci/golangci-lint-action@v3.2.0 with: @@ -69,9 +69,9 @@ jobs: golang: - 1.16.x steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.4.0 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.golang }} - name: Run tests on Windows @@ -88,9 +88,9 @@ jobs: OS: macos-latest GOLANG: ${{ matrix.golang }} steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.4.0 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.golang }} - uses: actions/cache@v3.0.4 @@ -109,7 +109,7 @@ jobs: git --no-pager diff go.mod go.sum git --no-pager diff --quiet go.mod go.sum - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2.1.0 + uses: codecov/codecov-action@v3.1.1 with: #token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.txt @@ -131,9 +131,9 @@ jobs: OS: ubuntu-latest GOLANG: ${{ matrix.golang }} steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.4.0 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.golang }} - uses: actions/cache@v3.0.4 @@ -152,7 +152,7 @@ jobs: - name: Run tests on Unix-like operating systems run: make unittest - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2.1.0 + uses: codecov/codecov-action@v3.1.1 with: #token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.txt diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 123f0ae..22b59e3 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -12,7 +12,7 @@ jobs: name: Release-Notes Preview runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.4.0 - run: | git fetch --prune --unshallow --tags - uses: snyk/release-notes-preview@v1.6.2 @@ -26,7 +26,7 @@ jobs: name: Documentation runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.4.0 with: depth: 1 - uses: nosborn/github-action-markdown-cli@master diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 20288eb..dba015b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,20 +11,20 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v3.4.0 - name: Unshallow run: git fetch --prune --unshallow - name: Run Semantic Release id: semantic - uses: docker://ghcr.io/codfish/semantic-release-action:v1 + uses: docker://ghcr.io/codfish/semantic-release-action:v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Set up Go if: steps.semantic.outputs.new-release-published == 'true' - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: 1.16.x - @@ -39,7 +39,7 @@ jobs: - name: Run GoReleaser if: steps.semantic.outputs.new-release-published == 'true' - uses: goreleaser/goreleaser-action@v2.7.0 + uses: goreleaser/goreleaser-action@v4.2.0 with: version: latest args: release --rm-dist diff --git a/tool/lint/package.json b/tool/lint/package.json index cead894..e011672 100644 --- a/tool/lint/package.json +++ b/tool/lint/package.json @@ -1,9 +1,9 @@ { "dependencies": { - "alex": "10.0.0", + "alex": "11.0.0", "markdown-spellcheck": "1.3.1", "markdownlint-cli": "0.28.1", "remark-cli": "9.0.0", - "remark-lint": "8.0.0" + "remark-lint": "9.1.1" } }