diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index 5d7800d..0be2de2 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -43,13 +43,13 @@ jobs: uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: go.mod # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -63,7 +63,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # ℹī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -76,6 +76,6 @@ jobs: # ./location_of_script_within_repo/buildscript.sh - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index d0bd299..ba72445 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -13,17 +13,17 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: go.mod - name: Set up Task - uses: arduino/setup-task@v1 + uses: arduino/setup-task@v2 with: repo-token: ${{ secrets.GITHUB_TOKEN }} @@ -31,7 +31,7 @@ jobs: uses: mach-composer/check-changie-changes-action@main - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v6 with: args: --issues-exit-code=0 --timeout=5m @@ -42,16 +42,16 @@ jobs: cp coverage.out output/coverage.out - name: Upload to codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: output path: output/**/* - name: build binary - uses: goreleaser/goreleaser-action@v3 + uses: goreleaser/goreleaser-action@v5 with: args: build --snapshot --clean --single-target env: diff --git a/.github/workflows/release-beta.yaml b/.github/workflows/release-beta.yaml index d281dcb..79e34d4 100644 --- a/.github/workflows/release-beta.yaml +++ b/.github/workflows/release-beta.yaml @@ -25,12 +25,12 @@ jobs: run: git fetch --force --tags - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: go.mod - name: Set up Task - uses: arduino/setup-task@v1 + uses: arduino/setup-task@v2 with: repo-token: ${{ secrets.GITHUB_TOKEN }} @@ -74,7 +74,7 @@ jobs: SKIP_UPLOAD: true - name: Upload release - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: mach-composer-plugin-commercelayer path: dist/* diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e75644d..3c3fdf6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -8,15 +8,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version-file: go.mod - name: Set up Task - uses: arduino/setup-task@v1 + uses: arduino/setup-task@v2 with: repo-token: ${{ secrets.GITHUB_TOKEN }} @@ -33,7 +33,7 @@ jobs: echo RELEASE_NOTES_PATH=.changes/${{ steps.latest.outputs.output }}.md >> $GITHUB_ENV - name: Create release - uses: goreleaser/goreleaser-action@v3 + uses: goreleaser/goreleaser-action@v5 with: args: --clean --release-notes=${{ env.RELEASE_NOTES_PATH }} --skip=validate env: @@ -42,7 +42,7 @@ jobs: GOPATH: ${{ env.GOPATH }} - name: Upload release - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: mach-composer-plugin-commercelayer path: dist/*