Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,19 @@ on:
pull_request:
branches:
- master
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
fail-fast: false
runs-on: windows-2022
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build and Test
Expand All @@ -27,7 +32,7 @@ jobs:
run: ./Push.ps1
shell: pwsh
- name: Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: artifacts
path: artifacts/**/*
33 changes: 33 additions & 0 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: 'Lock threads'

on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:

permissions:
contents: read

jobs:
lock:
permissions:
issues: write # for dessant/lock-threads to lock issues
pull-requests: write # for dessant/lock-threads to lock PRs
discussions: write # for dessant/lock-threads to lock discussions
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
with:
issue-inactive-days: 31
pr-inactive-days: 31
discussion-inactive-days: 31
issue-comment: >
This issue has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.
pr-comment: >
This pull request has been automatically locked since there
has not been any recent activity after it was closed.
discussion-comment: >
This discussion has been automatically locked since there
has not been any recent activity after it was closed.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ on:
push:
tags:
- '*.*.*'
permissions:
contents: read

jobs:
build:
strategy:
fail-fast: false
runs-on: windows-2022
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build and Test
Expand All @@ -30,7 +33,7 @@ jobs:
run: ./Push.ps1
shell: pwsh
- name: Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: artifacts
path: artifacts/**/*
8 changes: 4 additions & 4 deletions AutoMapper.Data.Tests/AutoMapper.Data.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Description>AutoMapper.Data.Tests Class Library</Description>
<Authors>Jimmy Bogard</Authors>
<TargetFrameworks>net7.0</TargetFrameworks>
<TargetFramework>net9.0</TargetFramework>
<DebugType>portable</DebugType>
<AssemblyName>AutoMapper.Data.Tests</AssemblyName>
<PackageId>AutoMapper.Data.Tests</PackageId>
Expand All @@ -22,9 +22,9 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.Runtime.Serialization.Primitives" Version="4.3.0" />
<PackageReference Include="xunit" Version="2.4.1" />
Expand Down
6 changes: 3 additions & 3 deletions AutoMapper.Data/AutoMapper.Data.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

<PropertyGroup>
<Description>ADO.NET extensions for AutoMapper</Description>
<VersionPrefix>8.0.0</VersionPrefix>
<VersionPrefix>9.0.0</VersionPrefix>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Authors>Jimmy Bogard</Authors>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>AutoMapper.Data</AssemblyName>
<PackageId>AutoMapper.Data</PackageId>
<PackageTags>AutoMapper</PackageTags>
Expand All @@ -25,7 +25,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="AutoMapper" Version="[13.0.0, 14.0.0)" />
<PackageReference Include="AutoMapper" Version="[14.0.0, 15.0.0)" />
<None Include="..\README.md" Pack="true" PackagePath="" />
</ItemGroup>

Expand Down