update ci actions, update rust edition to 2021 since our MSRV covers it

This commit is contained in:
Edgar 2024-02-19 14:32:48 +01:00
parent 4760ff71c7
commit 0e0ebe9aea
No known key found for this signature in database
GPG key ID: 70ADAE8F35904387
13 changed files with 19 additions and 22 deletions

View file

@ -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

View file

@ -14,7 +14,7 @@ jobs:
env:
CARGO_HTTP_MULTIPLEXING: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

View file

@ -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

View file

@ -32,7 +32,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

View file

@ -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

View file

@ -14,7 +14,7 @@ jobs:
env:
CARGO_HTTP_MULTIPLEXING: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: Prepare

View file

@ -12,4 +12,3 @@ panic = "abort"
[profile.release]
lto = "thin"
panic = "abort"

View file

@ -1,7 +1,7 @@
[package]
name = "ddnet-base"
version = "0.0.1"
edition = "2018"
edition = "2021"
publish = false
license = "Zlib"

View file

@ -1,7 +1,7 @@
[package]
name = "ddnet-engine"
version = "0.0.1"
edition = "2018"
edition = "2021"
publish = false
license = "Zlib"

View file

@ -1,7 +1,7 @@
[package]
name = "ddnet-engine-shared"
version = "0.0.1"
edition = "2018"
edition = "2021"
publish = false
license = "Zlib"

View file

@ -2,7 +2,7 @@
name = "masterping"
version = "0.0.1"
authors = ["heinrich5991 <heinrich5991@gmail.com>"]
edition = "2018"
edition = "2021"
publish = false
license = "Zlib"

View file

@ -2,7 +2,7 @@
name = "mastersrv"
version = "0.0.1"
authors = ["heinrich5991 <heinrich5991@gmail.com>"]
edition = "2018"
edition = "2021"
publish = false
license = "Zlib"

View file

@ -1,7 +1,7 @@
[package]
name = "ddnet-test"
version = "0.0.1"
edition = "2018"
edition = "2021"
publish = false
license = "Zlib"