diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index abce21dc2..cd5b5a952 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Checkout repository and submodules - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Init shell: bash @@ -67,7 +67,7 @@ jobs: brew install bison - name: Checkout repository and submodules - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build shell: bash diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 6b216bb8e..0cf0cceb8 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -6,11 +6,11 @@ jobs: clang-format-checking: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: RafikFarhad/clang-format-github-action@v3 with: # sources 和 excludes 最终生成的find查找文件的命令大概是这样的 # find . -type f ! -wholename "./src/observer/sql/parser/lex_sql.*" \( -wholename "./**/*.h" -o -wholename "./**/*.cpp" \) sources: "**/*.h,**/*.cpp,src/**/*.h,src/**/*.cpp" excludes: "src/observer/sql/parser/lex_sql.*,src/observer/sql/parser/yacc_sql.*,deps/3rd/**/*.cpp,deps/3rd/**/*.h" - style: "file" \ No newline at end of file + style: "file" diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 2f09cd8fa..bc2517a9c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -41,7 +41,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/gh-pages.yml b/.github/workflows/gh-pages.yml index d9174d777..1ba94d96e 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -29,7 +29,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Dependencies run: | python3 -m pip install -r ./docs/requirements.txt diff --git a/.github/workflows/pulish-docker-image.yml b/.github/workflows/pulish-docker-image.yml index 683fe4e0d..2d0194843 100644 --- a/.github/workflows/pulish-docker-image.yml +++ b/.github/workflows/pulish-docker-image.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository and submodules - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Log in to Docker hub uses: docker/login-action@v3 @@ -35,9 +35,6 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Checkout repository - uses: actions/checkout@v4 - - name: Set up QEMU uses: docker/setup-qemu-action@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b430e2300..f88ae0e1b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout repository and submodules - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: run basic test shell: bash @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository and submodules - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: install sysbench and mariadb-client shell: bash @@ -89,7 +89,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository and submodules - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: build observer and benchmark shell: bash @@ -109,7 +109,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository and submodules - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: build shell: bash