Skip to content

Commit

Permalink
update actions/checkout in GitHub Actions to v3 (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel committed Jul 5, 2022
1 parent 1d808e0 commit c72d881
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/alpine.yml
Expand Up @@ -6,7 +6,7 @@ jobs:
ubuntu-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: start docker
run: |
docker run -w /src -dit --name alpine -v $PWD:/src alpine:latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/msys2-clang.yml
Expand Up @@ -35,7 +35,7 @@ jobs:
CMAKE_GENERATOR: Ninja

steps:
- uses: actions/checkout@v2

This comment was marked as resolved.

Copy link
@Mad1238

Mad1238 Aug 4, 2022

@@ -35, 7 +35 7 @@ jobs:

This comment was marked as resolved.

Copy link
@Mad1238

Mad1238 Aug 4, 2022

- uses: actions/checkout@v3
- uses: msys2/setup-msys2@v2
with:
update: true
Expand All @@ -47,4 +47,4 @@ jobs:
cd build
cmake ..
cmake --build . --verbose
ctest -j4 --output-on-failure
ctest -j4 --output-on-failure
4 changes: 2 additions & 2 deletions .github/workflows/msys2.yml
Expand Up @@ -38,7 +38,7 @@ jobs:
CMAKE_GENERATOR: Ninja

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: msys2/setup-msys2@v2
with:
update: true
Expand All @@ -50,4 +50,4 @@ jobs:
cd build
cmake -DCMAKE_BUILD_TYPE=${{ matrix.type }} ..
cmake --build . --verbose
ctest -j4 --output-on-failure
ctest -j4 --output-on-failure
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu18.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
! contains(toJSON(github.event.commits.*.message), '[skip github]')
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use cmake
run: |
mkdir build &&
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu20.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
! contains(toJSON(github.event.commits.*.message), '[skip github]')
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use cmake
run: |
mkdir build &&
Expand All @@ -25,4 +25,4 @@ jobs:
ctest -j --output-on-failure &&
cmake --install . &&
cd ../tests/installation_tests/find &&
mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination .. && cmake --build .
mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination .. && cmake --build .
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu20sani.yml
Expand Up @@ -15,11 +15,11 @@ jobs:
! contains(toJSON(github.event.commits.*.message), '[skip github]')
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use cmake
run: |
mkdir build &&
cd build &&
cmake -DSIMDUTF_SANITIZE=ON .. &&
cmake --build . &&
ctest -j --output-on-failure
ctest -j --output-on-failure
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu20single.yml
Expand Up @@ -15,10 +15,10 @@ jobs:
! contains(toJSON(github.event.commits.*.message), '[skip github]')
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use cmake
run: |
python3 ./singleheader/amalgamate.py &&
cd singleheader &&
c++ -o amalgamation_demo amalgamation_demo.cpp -std=c++17 &&
./amalgamation_demo
./amalgamation_demo
2 changes: 1 addition & 1 deletion .github/workflows/vs17-arm-ci.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
- {gen: Visual Studio 17 2022, arch: ARM64}
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Use cmake
run: |
cmake -G "${{matrix.gen}}" -A ${{ matrix.arch }} -DCMAKE_CROSSCOMPILING=1 -B build &&
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vs17-ci.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
- {gen: Visual Studio 17 2022, arch: x64, shared: OFF}
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Configure
run: |
cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -DBUILD_SHARED_LIBS=${{matrix.shared}} -B build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vs17-clang-ci.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
- {gen: Visual Studio 17 2022, arch: x64}
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Configure
run: |
cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -T ClangCL -B build
Expand Down

0 comments on commit c72d881

Please sign in to comment.