Update actions

parent 8c201f6e
...@@ -14,7 +14,7 @@ jobs: ...@@ -14,7 +14,7 @@ jobs:
os: [macos-latest, ubuntu-20.04] os: [macos-latest, ubuntu-20.04]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: Install Linux dependencies - name: Install Linux dependencies
if: startsWith(matrix.os, 'ubuntu') if: startsWith(matrix.os, 'ubuntu')
run: sudo apt-get install -y protobuf-compiler libprotobuf-dev libprotoc-dev run: sudo apt-get install -y protobuf-compiler libprotobuf-dev libprotoc-dev
...@@ -37,8 +37,8 @@ jobs: ...@@ -37,8 +37,8 @@ jobs:
- arch: s390x - arch: s390x
- arch: ppc64le - arch: ppc64le
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2.0.9 - uses: uraimo/run-on-arch-action@v2.7.2
name: Install dependencies and run distcheck name: Install dependencies and run distcheck
id: runcmd id: runcmd
with: with:
...@@ -58,7 +58,7 @@ jobs: ...@@ -58,7 +58,7 @@ jobs:
valgrind: valgrind:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: sudo apt-get install -y protobuf-compiler libprotobuf-dev libprotoc-dev valgrind run: sudo apt-get install -y protobuf-compiler libprotobuf-dev libprotoc-dev valgrind
- name: Run distcheck with valgrind - name: Run distcheck with valgrind
...@@ -70,7 +70,7 @@ jobs: ...@@ -70,7 +70,7 @@ jobs:
coverage: coverage:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: sudo apt-get install -y protobuf-compiler libprotobuf-dev libprotoc-dev lcov run: sudo apt-get install -y protobuf-compiler libprotobuf-dev libprotoc-dev lcov
- name: Run coverage build - name: Run coverage build
...@@ -93,7 +93,7 @@ jobs: ...@@ -93,7 +93,7 @@ jobs:
os: [macos-latest, ubuntu-20.04] os: [macos-latest, ubuntu-20.04]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: Install Linux dependencies - name: Install Linux dependencies
if: startsWith(matrix.os, 'ubuntu') if: startsWith(matrix.os, 'ubuntu')
run: sudo apt-get install -y protobuf-compiler libprotobuf-dev libprotoc-dev run: sudo apt-get install -y protobuf-compiler libprotobuf-dev libprotoc-dev
...@@ -120,16 +120,16 @@ jobs: ...@@ -120,16 +120,16 @@ jobs:
PROTOBUF_VERSION: 24.3 PROTOBUF_VERSION: 24.3
ABSEIL_VERSION: "20230802.0" ABSEIL_VERSION: "20230802.0"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1 - uses: ilammy/msvc-dev-cmd@v1
with: with:
arch: amd64 arch: amd64
- uses: actions/cache@v2 - uses: actions/cache@v4
id: protobuf-cache id: protobuf-cache
with: with:
path: ~/protobuf-bin path: ~/protobuf-bin
key: ${{ env.PROTOBUF_VERSION }}-${{ matrix.shared-lib }}-${{ matrix.build-type}} key: ${{ env.PROTOBUF_VERSION }}-${{ matrix.shared-lib }}-${{ matrix.build-type}}
- uses: actions/cache@v2 - uses: actions/cache@v4
id: abseil-cache id: abseil-cache
with: with:
path: ~/abseil-bin path: ~/abseil-bin
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment