Skip to content

Commit

Permalink
Update GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
EFanZh committed Sep 25, 2023
1 parent ce92323 commit 53b298c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/c++.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
check-code-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: cargo run --package check-cpp-code-format --release -- c++
- run: >-
find c++
Expand All @@ -14,7 +14,7 @@ jobs:
clang-tidy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: sudo apt-get update && sudo apt-get install --no-install-recommends -y clang-tidy
- run: vcpkg install gtest
- run: >-
Expand All @@ -29,7 +29,7 @@ jobs:
tests:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: vcpkg install gtest
- run: >-
cmake
Expand All @@ -48,7 +48,7 @@ jobs:
tests-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: vcpkg install gtest --triplet ${{ matrix.platform }}-windows
- run: >-
cmake
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: rustup component add llvm-tools
- run: sudo apt-get install --no-install-recommends -y ninja-build
- run: vcpkg install gtest
Expand All @@ -16,6 +16,6 @@ jobs:
- uses: codecov/codecov-action@v3
with:
files: coverage/lcov.info
- uses: coverallsapp/github-action@master
- uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/progress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: cargo run --package progress-tracker --release -- . _site
- uses: actions/upload-pages-artifact@v1
- uses: actions/upload-pages-artifact@v2
deploy:
needs: build
permissions:
id-token: write
pages: write
runs-on: ubuntu-latest
steps:
- uses: actions/deploy-pages@v1
- uses: actions/deploy-pages@v2
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
rustfmt:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: cargo fmt --all -- --check
strategy:
matrix:
Expand All @@ -15,7 +15,7 @@ jobs:
clippy:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: cargo clippy --workspace --all-targets --all-features -- -D warnings
strategy:
matrix:
Expand All @@ -26,7 +26,7 @@ jobs:
tests:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: cargo test --workspace
strategy:
matrix:
Expand Down

0 comments on commit 53b298c

Please sign in to comment.