File tree Expand file tree Collapse file tree 7 files changed +19
-23
lines changed Expand file tree Collapse file tree 7 files changed +19
-23
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
14
14
steps :
15
- - uses : actions/checkout@v3
15
+ - uses : actions/checkout@v5.0.0
16
16
- name : Setup .NET
17
- uses : actions/setup-dotnet@v3
17
+ uses : actions/setup-dotnet@v5.0.0
18
18
with :
19
- dotnet-version : 6 .0.403
19
+ dotnet-version : 9 .0.305
20
20
- name : Restore dependencies
21
21
run : dotnet restore
22
22
- name : Build
23
23
run : dotnet build -warnaserror --no-restore
24
24
- name : Test
25
- run : dotnet test --no-build --verbosity normal
25
+ run : dotnet test
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: dotnet pack and publish
2
2
3
3
on :
4
4
release :
5
- types : [released]
5
+ types : [ released ]
6
6
branches : [ master ]
7
7
8
8
jobs :
@@ -11,13 +11,13 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
14
- - uses : actions/checkout@v3
14
+ - uses : actions/checkout@v5.0.0
15
15
- name : Setup .NET
16
- uses : actions/setup-dotnet@v3
16
+ uses : actions/setup-dotnet@v5.0.0
17
17
with :
18
- dotnet-version : 6 .0.403
18
+ dotnet-version : 9 .0.305
19
19
- name : Test
20
- run : dotnet test --verbosity normal
20
+ run : dotnet test
21
21
- name : Build and pack
22
22
run : VERSION=${GITHUB_REF##*/} dotnet build -warnaserror --no-restore -o . -c Release
23
23
- name : Publish nuget package
Original file line number Diff line number Diff line change 1
- Copyright (c) 2017-2022 Dave Curylo
1
+ Copyright (c) 2017-2025 Dave Curylo
2
2
3
3
Permission is hereby granted, free of charge, to any person obtaining a copy of
4
4
this software and associated documentation files (the "Software"), to deal in
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FSharp.Text.Docker
4
4
Interact with docker with the type safety of the F# language.
5
5
6
6
[ ![ Build and Test] ( https://github.com/ninjarobot/FSharp.Text.Docker/actions/workflows/build-and-test.yml/badge.svg )] ( https://github.com/ninjarobot/FSharp.Text.Docker/actions/workflows/build-and-test.yml )
7
- [ ![ FSharp.Text.Docker on Nuget] ( https://buildstats.info /nuget/FSharp.Text.Docker )] ( https://www.nuget.org/packages/FSharp.Text.Docker/ )
7
+ [ ![ FSharp.Text.Docker on Nuget] ( https://img.shields.io /nuget/v /FSharp.Text.Docker )] ( https://www.nuget.org/packages/FSharp.Text.Docker/ )
8
8
9
9
### Define a dockerfile
10
10
Original file line number Diff line number Diff line change 1
1
{
2
2
"sdk" : {
3
- "version" : " 6 .0.302 " ,
3
+ "version" : " 9 .0.* " ,
4
4
"rollForward" : " latestMinor"
5
5
}
6
6
}
7
-
Original file line number Diff line number Diff line change 2
2
<PropertyGroup >
3
3
<TargetFramework >netstandard2.0</TargetFramework >
4
4
<PackageLicenseFile >LICENSE</PackageLicenseFile >
5
- <Copyright >Copyright (c) 2017-2022 Dave Curylo</Copyright >
5
+ <Copyright >Copyright (c) 2017-2025 Dave Curylo</Copyright >
6
6
<Description >Building Dockerfiles from F#.</Description >
7
7
<PackageProjectUrl >https://github.com/ninjarobot/FSharp.Text.Docker</PackageProjectUrl >
8
8
<PackageReadmeFile >README.md</PackageReadmeFile >
26
26
<PackageReference Update =" FSharp.Core" Version =" 5.0.0" />
27
27
<PackageReference Include =" System.Text.Json" Version =" 5.0.1" />
28
28
</ItemGroup >
29
- <!-- Enable SourceLink and deterministic builds -->
30
- <ItemGroup >
31
- <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.1.1" PrivateAssets =" All" />
32
- </ItemGroup >
29
+ <!-- Enable deterministic builds -->
33
30
<PropertyGroup Condition =" '$(GITHUB_ACTIONS)' == 'true'" >
34
31
<ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
35
32
</PropertyGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net6 .0</TargetFramework >
4
+ <TargetFramework >net9 .0</TargetFramework >
5
5
<IsPackable >false</IsPackable >
6
- <GenerateProgramFile >true </GenerateProgramFile >
6
+ <GenerateProgramFile >false </GenerateProgramFile >
7
7
</PropertyGroup >
8
8
9
9
<ItemGroup >
12
12
</ItemGroup >
13
13
14
14
<ItemGroup >
15
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.10.0 " />
16
- <PackageReference Include =" xunit" Version =" 2.4 .1" />
17
- <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.3 " />
15
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.14.1 " />
16
+ <PackageReference Include =" xunit.v3 " Version =" 3.0 .1" />
17
+ <PackageReference Include =" xunit.runner.visualstudio" Version =" 3.1.4 " />
18
18
</ItemGroup >
19
19
20
20
<ItemGroup >
You can’t perform that action at this time.
0 commit comments