diff --git a/.github/actions/hugo-build-action/action.yaml b/.github/actions/hugo-build-action/action.yaml index 8623c0870..45f154f71 100644 --- a/.github/actions/hugo-build-action/action.yaml +++ b/.github/actions/hugo-build-action/action.yaml @@ -9,18 +9,18 @@ runs: using: "composite" steps: - name: "Setup GO" - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: '>=1.20.1' cache: false - name: "Cache Go modules" - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/go/pkg/mod key: go-mod-${{ hashFiles('docs/go.sum') }} restore-keys: go-mod- - name: "Setup Node" - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: 20 cache: 'npm' @@ -36,7 +36,7 @@ runs: run: | npm ci - name: "Cache Hugo resources" - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: docs/resources/_gen key: hugo-resources-${{ hashFiles('docs/go.sum', 'docs/config/**') }} diff --git a/.github/actions/hugo-build-versioned-action/action.yaml b/.github/actions/hugo-build-versioned-action/action.yaml index 7ad1c1b66..8f36cce2f 100644 --- a/.github/actions/hugo-build-versioned-action/action.yaml +++ b/.github/actions/hugo-build-versioned-action/action.yaml @@ -20,9 +20,9 @@ inputs: runs: using: "composite" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version-file: ".python-version" cache: 'pip' @@ -32,18 +32,18 @@ runs: run: | python -m pip install --upgrade pip pip install -r scripts/script-requirements.txt - - uses: actions/setup-go@v5 + - uses: actions/setup-go@v6 with: go-version: '>=1.20.1' cache: false - name: "Cache Go modules" - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/go/pkg/mod key: go-mod-${{ hashFiles('docs/go.sum') }} restore-keys: go-mod- - name: "Setup Node" - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: 20 cache: 'npm' @@ -67,7 +67,7 @@ runs: chmod +x ./generate.sh ./generate.sh ${{ inputs.fetch-from }} master - name: "Cache Hugo resources" - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: docs/resources/_gen key: hugo-resources-${{ hashFiles('docs/go.sum', 'docs/config/**') }} diff --git a/.github/actions/merge/action.yaml b/.github/actions/merge/action.yaml index 552f5175e..aa8908a2b 100644 --- a/.github/actions/merge/action.yaml +++ b/.github/actions/merge/action.yaml @@ -30,7 +30,7 @@ runs: using: "composite" steps: - name: Checkout source branch - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 ref: "${{ inputs.source }}" diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index f1c0a7b54..a689e19b2 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -50,7 +50,7 @@ jobs: fi uv build --out-dir dist - name: Persist ${{ matrix.component }} artifacts - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 with: name: artifacts_${{ matrix.component }} path: | @@ -64,7 +64,7 @@ jobs: contents: write steps: - name: Obtain artifacts - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: path: dist/ - name: Generate changelog @@ -100,7 +100,7 @@ jobs: component: ${{ fromJSON(needs.matrix-components.outputs.components) }} steps: - name: Obtain ${{ matrix.component }} artifacts - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: name: artifacts_${{ matrix.component }} path: dist/${{ matrix.component }} diff --git a/.github/workflows/dev-release.yaml b/.github/workflows/dev-release.yaml index 81c630a9a..598dcf245 100644 --- a/.github/workflows/dev-release.yaml +++ b/.github/workflows/dev-release.yaml @@ -52,7 +52,7 @@ jobs: fi uv build --out-dir dist - name: Upload ${{ matrix.component }} artifacts - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 with: name: dist-${{ matrix.component }} path: ${{ matrix.component == 'gooddata-api-client' && format('{0}/dist', matrix.component) || format('packages/{0}/dist', matrix.component) }} @@ -71,7 +71,7 @@ jobs: component: ${{ fromJSON(needs.matrix-components.outputs.components) }} steps: - name: Download ${{ matrix.component }} artifacts - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: name: dist-${{ matrix.component }} path: dist diff --git a/.github/workflows/netlify-deploy-v2.yaml b/.github/workflows/netlify-deploy-v2.yaml index cd3296ceb..07ebe55c7 100644 --- a/.github/workflows/netlify-deploy-v2.yaml +++ b/.github/workflows/netlify-deploy-v2.yaml @@ -71,7 +71,7 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' run: bash scripts/generate-single-version.sh "origin/${{ matrix.version.branch }}" "${{ matrix.version.section }}" - name: Upload version artifact - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 with: name: version-${{ matrix.version.section }} path: docs/versioned_docs/${{ matrix.version.section }} @@ -87,7 +87,7 @@ jobs: with: submodules: recursive - name: Setup GO - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: '>=1.20.1' cache: false @@ -98,7 +98,7 @@ jobs: key: go-mod-${{ hashFiles('docs/go.sum') }} restore-keys: go-mod- - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: 20 cache: 'npm' @@ -109,7 +109,7 @@ jobs: working-directory: ./docs run: npm ci - name: Download version artifacts - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: pattern: version-* path: docs/versioned_docs-raw/