aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/ci.yml22
1 files changed, 12 insertions, 10 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 33d7302..d1acbae 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@v2
+ uses: actions/checkout@v3
with:
submodules: recursive
- name: Run clang-format
@@ -43,13 +43,15 @@ jobs:
shell: pwsh
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
+ with:
+ python-version: '3.x'
- name: Cache Boost
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: '${{ runner.workspace }}/build/boost_*.tar.gz'
key: 'boost_${{ env.BOOST_VERSION }}'
@@ -58,7 +60,7 @@ jobs:
- name: Build
run: make install
- name: Upload binaries
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
name: 'math-server-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}'
path: '${{ runner.workspace }}/build/install/'
@@ -75,15 +77,15 @@ jobs:
name: 'Docker: publish math-${{ matrix.project }}'
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up QEMU
- uses: docker/setup-qemu-action@v1
+ uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v1
+ uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
- uses: docker/login-action@v1
+ uses: docker/login-action@v2
with:
username: '${{ secrets.DOCKERHUB_USERNAME }}'
password: '${{ secrets.DOCKERHUB_TOKEN }}'
@@ -97,7 +99,7 @@ jobs:
echo 'platforms=linux/amd64' >> "$GITHUB_OUTPUT"
fi
- name: 'Publish math-${{ matrix.project }}'
- uses: docker/build-push-action@v2
+ uses: docker/build-push-action@v3
with:
file: '${{ matrix.project }}/Dockerfile'
platforms: '${{ steps.platforms.outputs.platforms }}'