diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5a7667c02..468dd13d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 - diff --git a/.github/workflows/clang-sanitizer.yml b/.github/workflows/clang-sanitizer.yml index 2a000d6d7..d79d6cf19 100644 --- a/.github/workflows/clang-sanitizer.yml +++ b/.github/workflows/clang-sanitizer.yml @@ -14,7 +14,7 @@ jobs: env: CARGO_HTTP_MULTIPLEXING: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index 9c4fe0ce5..b37a40c39 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -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 - diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 439760f8f..16f0720b6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -32,7 +32,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: true @@ -48,7 +48,7 @@ jobs: with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. + # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 77a23ab3c..6c9ddd508 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 302dc1697..cdd21ec04 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -14,7 +14,7 @@ jobs: env: CARGO_HTTP_MULTIPLEXING: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Prepare diff --git a/Cargo.toml b/Cargo.toml index 62299adcc..477f20b29 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,4 +12,3 @@ panic = "abort" [profile.release] lto = "thin" panic = "abort" - diff --git a/src/base/Cargo.toml b/src/base/Cargo.toml index 709a35c8e..c72aa91b3 100644 --- a/src/base/Cargo.toml +++ b/src/base/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ddnet-base" version = "0.0.1" -edition = "2018" +edition = "2021" publish = false license = "Zlib" diff --git a/src/engine/Cargo.toml b/src/engine/Cargo.toml index b6d484cd0..48eab28c4 100644 --- a/src/engine/Cargo.toml +++ b/src/engine/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ddnet-engine" version = "0.0.1" -edition = "2018" +edition = "2021" publish = false license = "Zlib" diff --git a/src/engine/shared/Cargo.toml b/src/engine/shared/Cargo.toml index b939c23d1..690081ea0 100644 --- a/src/engine/shared/Cargo.toml +++ b/src/engine/shared/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ddnet-engine-shared" version = "0.0.1" -edition = "2018" +edition = "2021" publish = false license = "Zlib" diff --git a/src/masterping/Cargo.toml b/src/masterping/Cargo.toml index d6bdc5dc2..0e1bf0612 100644 --- a/src/masterping/Cargo.toml +++ b/src/masterping/Cargo.toml @@ -2,7 +2,7 @@ name = "masterping" version = "0.0.1" authors = ["heinrich5991 "] -edition = "2018" +edition = "2021" publish = false license = "Zlib" diff --git a/src/mastersrv/Cargo.toml b/src/mastersrv/Cargo.toml index a08b3ae68..3e1b01406 100644 --- a/src/mastersrv/Cargo.toml +++ b/src/mastersrv/Cargo.toml @@ -2,7 +2,7 @@ name = "mastersrv" version = "0.0.1" authors = ["heinrich5991 "] -edition = "2018" +edition = "2021" publish = false license = "Zlib" diff --git a/src/rust-bridge/test/Cargo.toml b/src/rust-bridge/test/Cargo.toml index 8909e584a..f2b8aadf1 100644 --- a/src/rust-bridge/test/Cargo.toml +++ b/src/rust-bridge/test/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ddnet-test" version = "0.0.1" -edition = "2018" +edition = "2021" publish = false license = "Zlib"