mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 17:48:19 +00:00
update ci actions, update rust edition to 2021 since our MSRV covers it
This commit is contained in:
parent
4760ff71c7
commit
0e0ebe9aea
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
@ -41,7 +41,7 @@ jobs:
|
|||
fancy: false
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
|
@ -153,7 +153,7 @@ jobs:
|
|||
|
||||
- name: Upload Codecov report (unit tests)
|
||||
if: contains(matrix.os, 'ubuntu-latest')
|
||||
uses: codecov/codecov-action@v3
|
||||
uses: codecov/codecov-action@v4
|
||||
with:
|
||||
gcov: true
|
||||
gcov_include: src
|
||||
|
@ -170,7 +170,7 @@ jobs:
|
|||
|
||||
- name: Upload Codecov report (start & connect)
|
||||
if: contains(matrix.os, 'ubuntu-latest')
|
||||
uses: codecov/codecov-action@v3
|
||||
uses: codecov/codecov-action@v4
|
||||
with:
|
||||
gcov: true
|
||||
gcov_include: src
|
||||
|
@ -206,7 +206,7 @@ jobs:
|
|||
|
||||
- name: Upload Codecov report (integration tests)
|
||||
if: contains(matrix.os, 'ubuntu-latest')
|
||||
uses: codecov/codecov-action@v3
|
||||
uses: codecov/codecov-action@v4
|
||||
with:
|
||||
gcov: true
|
||||
gcov_include: src
|
||||
|
@ -220,8 +220,7 @@ jobs:
|
|||
mv ${{ matrix.package-file }} artifacts
|
||||
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ddnet-${{ matrix.os }}
|
||||
path: release/artifacts
|
||||
|
||||
|
|
2
.github/workflows/clang-sanitizer.yml
vendored
2
.github/workflows/clang-sanitizer.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
|||
env:
|
||||
CARGO_HTTP_MULTIPLEXING: false
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
|
|
3
.github/workflows/clang-tidy.yml
vendored
3
.github/workflows/clang-tidy.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
|||
env:
|
||||
CARGO_HTTP_MULTIPLEXING: false
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
|
@ -32,4 +32,3 @@ jobs:
|
|||
cd clang-tidy
|
||||
cmake -G Ninja -DCMAKE_CXX_CLANG_TIDY="clang-tidy;-warnings-as-errors=*" -DCMAKE_C_CLANG_TIDY="clang-tidy;-warnings-as-errors=*" -DCMAKE_BUILD_TYPE=Debug -Werror=dev -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE=. ..
|
||||
cmake --build . --config Debug --target everything -- -k 0
|
||||
|
||||
|
|
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
|
@ -32,7 +32,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
|
|
6
.github/workflows/rust.yml
vendored
6
.github/workflows/rust.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
|||
env:
|
||||
CARGO_HTTP_MULTIPLEXING: false
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
- name: Cache Rust dependencies
|
||||
uses: Swatinem/rust-cache@v2
|
||||
- name: Run Rustdoc
|
||||
|
@ -23,7 +23,7 @@ jobs:
|
|||
rustfmt:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run Rustfmt
|
||||
run:
|
||||
cargo fmt -- --check
|
||||
|
@ -41,7 +41,7 @@ jobs:
|
|||
continue-on-error: ${{ matrix.checks == 'advisories' }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
- name: Cache Rust dependencies
|
||||
uses: Swatinem/rust-cache@v2
|
||||
- uses: EmbarkStudios/cargo-deny-action@v1
|
||||
|
|
2
.github/workflows/style.yml
vendored
2
.github/workflows/style.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
|||
env:
|
||||
CARGO_HTTP_MULTIPLEXING: false
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- name: Prepare
|
||||
|
|
|
@ -12,4 +12,3 @@ panic = "abort"
|
|||
[profile.release]
|
||||
lto = "thin"
|
||||
panic = "abort"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "ddnet-base"
|
||||
version = "0.0.1"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
license = "Zlib"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "ddnet-engine"
|
||||
version = "0.0.1"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
license = "Zlib"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "ddnet-engine-shared"
|
||||
version = "0.0.1"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
license = "Zlib"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "masterping"
|
||||
version = "0.0.1"
|
||||
authors = ["heinrich5991 <heinrich5991@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
license = "Zlib"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "mastersrv"
|
||||
version = "0.0.1"
|
||||
authors = ["heinrich5991 <heinrich5991@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
license = "Zlib"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "ddnet-test"
|
||||
version = "0.0.1"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
license = "Zlib"
|
||||
|
||||
|
|
Loading…
Reference in a new issue