Skip to content

修正RedisCache分布式缓存设置前缀无效的BUG,并添加单元测试 #132

修正RedisCache分布式缓存设置前缀无效的BUG,并添加单元测试

修正RedisCache分布式缓存设置前缀无效的BUG,并添加单元测试 #132

Triggered via push July 8, 2024 16:22
Status Failure
Total duration 3m 6s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
build-publish
Process completed with exit code 1.
build-publish
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-publish: NewLife.Redis/RedisHash.cs#L38
Nullability of reference types in return type of 'TValue? RedisHash<TKey, TValue>.this[TKey key].get' doesn't match implicitly implemented member 'TValue IDictionary<TKey, TValue>.this[TKey key].get' (possibly because of nullability attributes).
build-publish: NewLife.Redis/Redis.cs#L780
Nullability of reference types in return type doesn't match overridden member.
build-publish: NewLife.Redis/RedisHash.cs#L38
Nullability of reference types in return type of 'TValue? RedisHash<TKey, TValue>.this[TKey key].get' doesn't match implicitly implemented member 'TValue IDictionary<TKey, TValue>.this[TKey key].get' (possibly because of nullability attributes).
build-publish: NewLife.Redis/Services/RedisStatGroup.cs#L14
Non-nullable property 'Redis' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-publish: NewLife.Redis/Services/RedisStat.cs#L46
Possible null reference assignment.
build-publish: NewLife.Redis/Services/RedisStat.cs#L47
Dereference of a possibly null reference.
build-publish: NewLife.Redis/Services/RedisStat.cs#L38
Non-nullable property 'OnSave' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-publish: NewLife.Redis/Services/RedisStat.cs#L96
Dereference of a possibly null reference.
build-publish: NewLife.Redis/RedisStack.cs#L35
Possible null reference argument for parameter 'item' in 'void List<object>.Add(object item)'.
build-publish: NewLife.Redis/RedisStack.cs#L59
Dereference of a possibly null reference.