aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2024-01-28 13:08:48 +0100
committerEgor Tensin <egor@tensin.name>2024-01-28 13:08:48 +0100
commit633e699dd533e8a53061ea91c5c16f3b247dfc2f (patch)
tree4fd9d2e92564d37e6ff37be04eb5861310803996
parentstress_test.py: fix randint usage (diff)
downloadmath-server-633e699dd533e8a53061ea91c5c16f3b247dfc2f.tar.gz
math-server-633e699dd533e8a53061ea91c5c16f3b247dfc2f.zip
workflows/ci: upgrade actionsHEADmaster
-rw-r--r--.github/workflows/ci.yml20
1 files 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