[fix]修正MemoryCache.Add可能因为已过期旧值存在而导致无法新增数据的问题。该bug导致魔方Cron作业无法以较短频率执行… #297
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ '*' ] | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup dotNET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
6.0.x | |
7.0.x | |
8.x | |
- name: Build | |
run: | | |
dotnet build -c Release | |
- name: Test | |
run: | | |
dotnet test |