aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/ci.yml38
1 files changed, 19 insertions, 19 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c977b1d..613124d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,7 +15,7 @@ jobs:
continue-on-error: ${{ github.ref != 'refs/heads/master' }}
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Run clang-format
uses: egor-tensin/clang-format@v1
@@ -31,9 +31,9 @@ jobs:
CONFIGURATION: '${{ matrix.configuration }}'
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Set up Python
- uses: actions/setup-python@v4
+ uses: actions/setup-python@v5
with:
# Unpin when this is fixed: https://github.com/python/cpython/issues/111615
python-version: '3.11'
@@ -47,7 +47,7 @@ jobs:
- name: Build
run: make install
- name: Upload binaries
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: 'cimple-${{ matrix.compiler }}-${{ matrix.configuration }}'
path: './build/install/'
@@ -55,7 +55,7 @@ jobs:
- name: Run tests
run: make test/report
- name: Upload test report
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: 'test-report-${{ matrix.compiler }}-${{ matrix.configuration }}'
path: './build/test_report/'
@@ -69,7 +69,7 @@ jobs:
name: 'Code coverage'
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
@@ -77,7 +77,7 @@ jobs:
- name: Generate coverage report
run: make coverage
- name: Upload coverage report
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: coverage
path: ./build/coverage/
@@ -88,7 +88,7 @@ jobs:
name: 'Flame graphs'
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
@@ -109,7 +109,7 @@ jobs:
# for FlameGraph.
sudo --preserve-env=PATH make flame_graphs
- name: Upload flame graphs
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: flame_graphs
path: ./build/flame_graphs/
@@ -121,24 +121,24 @@ jobs:
name: 'Publish: reports'
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Download test report - Clang/Debug
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: test-report-clang-Debug
path: /tmp/reports/test_report_clang_debug/
- name: Download test report - Clang/Release
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: test-report-clang-Release
path: /tmp/reports/test_report_clang_release/
- name: Download coverage report
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: coverage
path: /tmp/reports/coverage
- name: Download flame graphs
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: flame_graphs
path: /tmp/reports/flame_graphs
@@ -155,13 +155,13 @@ jobs:
name: 'Publish: Docker Hub'
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- 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 }}'
@@ -175,7 +175,7 @@ jobs:
echo 'platforms=amd64' >> "$GITHUB_OUTPUT"
fi
- name: Publish
- 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