From 633e699dd533e8a53061ea91c5c16f3b247dfc2f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 28 Jan 2024 13:08:48 +0100 Subject: workflows/ci: upgrade actions --- .github/workflows/ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65ff40e..0043afd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: continue-on-error: ${{ github.ref != 'refs/heads/master' }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive - name: Run clang-format @@ -44,15 +44,15 @@ jobs: shell: pwsh steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Cache Boost - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: './build/boost_*.tar.gz' key: 'boost_${{ env.BOOST_VERSION }}' @@ -61,7 +61,7 @@ jobs: - name: Build run: make install - name: Upload binaries - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'math-server-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}' path: './build/install/' @@ -78,15 +78,15 @@ jobs: name: 'Docker: publish math-${{ matrix.project }}' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: '${{ secrets.DOCKERHUB_USERNAME }}' password: '${{ secrets.DOCKERHUB_TOKEN }}' @@ -100,7 +100,7 @@ jobs: echo 'platforms=amd64' >> "$GITHUB_OUTPUT" fi - name: 'Publish math-${{ matrix.project }}' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: # Without context, .dockerignore is not respected? # https://stackoverflow.com/a/74552407/514684 -- cgit v1.2.3