diff --git a/.github/workflows/breaking.yml b/.github/workflows/breaking.yml index 17eeb19c3..7594b1f82 100644 --- a/.github/workflows/breaking.yml +++ b/.github/workflows/breaking.yml @@ -16,11 +16,11 @@ jobs: contents: read steps: - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: "1.21" - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install gorelease run: test -e ~/go/bin/gorelease || go install golang.org/x/exp/cmd/gorelease@latest - name: Check broken API changes diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 5c3508bd1..65f19da5b 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Changelog updated uses: Zomzog/changelog-checker@v1.3.0 diff --git a/.github/workflows/check-codegen.yml b/.github/workflows/check-codegen.yml index 0ee6bd406..8d9f701e3 100644 --- a/.github/workflows/check-codegen.yml +++ b/.github/workflows/check-codegen.yml @@ -18,10 +18,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 678e69070..c9d108379 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -45,7 +45,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 745864a37..4eca7b4b2 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -38,9 +38,9 @@ jobs: YDB_VERSION: ${{ matrix.ydb-version }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: cache: true - name: Run basic example ${{ matrix.application }} @@ -74,9 +74,9 @@ jobs: POSTGRES_CONNECTION_STRING: postgres://postgres:postgres@localhost:5432/basic?sslmode=disable steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: cache: true - name: Run basic example ${{ matrix.application }} with postgres @@ -97,9 +97,9 @@ jobs: SQLITE_CONNECTION_STRING: ${{ matrix.application }}.db steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: cache: true - name: Run basic example ${{ matrix.application }} with sqlite diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c4b89aa7a..aadaefff0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,7 +16,7 @@ jobs: cancel-in-progress: true runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: @@ -29,7 +29,7 @@ jobs: cancel-in-progress: true runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: generate examples golangci-lint config run: sed 's/github.com\/ydb-platform\/ydb-go-sdk\/v3/examples/g' .golangci.yml > examples/.golangci.yml - name: golangci-lint @@ -45,7 +45,7 @@ jobs: cancel-in-progress: true runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: generate slo golangci-lint config run: sed 's/github.com\/ydb-platform\/ydb-go-sdk\/v3/slo/g' .golangci.yml > tests/slo/.golangci.yml - name: golangci-lint @@ -61,9 +61,9 @@ jobs: cancel-in-progress: true runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: "1.21" - name: Install utilities diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 61361f822..64f30b640 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,7 +28,7 @@ jobs: CHANGELOG_FILE: CHANGELOG.md GITHUB_TOKEN: ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }} fetch-depth: 0 diff --git a/.github/workflows/slo.yml b/.github/workflows/slo.yml index d1922303e..bc63cacbe 100644 --- a/.github/workflows/slo.yml +++ b/.github/workflows/slo.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run SLO uses: ydb-platform/slo-tests@js-version @@ -73,7 +73,7 @@ jobs: workload_build_context4: ../.. workload_build_options4: -f Dockerfile --build-arg SRC_PATH=xorm --build-arg JOB_NAME=workload-xorm - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: slo-logs diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 756b2fd38..9e6ee54ae 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,9 +22,9 @@ jobs: runs-on: ${{ matrix.os }}-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} cache: true @@ -71,9 +71,9 @@ jobs: HIDE_APPLICATION_OUTPUT: 1 steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} cache: true