Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated some steps and yaml configuration #120

Merged
merged 3 commits into from
Jun 20, 2020
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .build/.build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<PackageReference Include="JetBrains.ReSharper.CommandLineTools" ExcludeAssets="All" />
<PackageReference Include="GitVersion.Tool" ExcludeAssets="All" />
<PackageReference Include="ReportGenerator" ExcludeAssets="All" />
<PackageReference Include="Rocket.Surgery.Nuke.DotNetCore" />
<PackageReference Include="Rocket.Surgery.Nuke" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions .build/Build.CI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ public static RocketSurgeonGitHubActionsConfiguration Middleware(RocketSurgeonGi
var buildJob = configuration.Jobs.First(z => z.Name == "Build");
var checkoutStep = buildJob.Steps.OfType<CheckoutStep>().Single();
// For fetch all
// checkoutStep.FetchDepth = 0;
checkoutStep.FetchDepth = 0;
buildJob.Steps.InsertRange(buildJob.Steps.IndexOf(checkoutStep) + 1, new BaseGitHubActionsStep[] {
new RunStep("Fetch all history for all tags and branches") {
Run = "git fetch --prune --unshallow"
Run = "git fetch --prune"
},
new SetupDotNetStep("Use .NET Core 2.1 SDK") {
DotNetVersion = "2.1.x"
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ jobs:
uses: actions/checkout@v2
with:
clean: 'false'
fetch-depth: '0'
- name: Fetch all history for all tags and branches
run: |
git fetch --prune --unshallow
git fetch --prune
- name: 🔨 Use .NET Core 2.1 SDK
uses: actions/setup-dotnet@v1
with:
Expand All @@ -63,7 +64,7 @@ jobs:
Write-Host Copying from $from to $to;
Copy-Item "$from\*" $to -Recurse -Force;
}

- name: 🎁 dotnet tool restore
run: |
dotnet tool restore
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/nukeeper.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- .github/workflows/sync-labels.yml
- .github/labels.yml
schedule:
- cron: '0 0 * * *'
- cron: '0 0 * * 4'

jobs:
sync_labels:
Expand Down
4 changes: 2 additions & 2 deletions GitReleaseManager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ issue-labels-include:
- ':blue_book: documentation'
- ':beetle: bug'
- ':hammer: chore'
- ':raised_hand: good first issue'
- ':raised_hand: help wanted'
- 'good first issue'
- 'help wanted'
- ':sparkles: mysterious'
- ':package: dependencies'
- ':construction: deprecated'
Expand Down
2 changes: 1 addition & 1 deletion Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PackageReference Update="JetBrains.ReSharper.CommandLineTools" Version="2020.1.3" />
<PackageReference Update="Nuke.Common" Version="0.25.0-alpha0292" />
<PackageReference Update="ReportGenerator" Version="4.6.1" />
<PackageReference Update="Rocket.Surgery.Nuke.DotNetCore" Version="0.14.0-beta.4" />
<PackageReference Update="Rocket.Surgery.Nuke" Version="0.14.0-beta.5" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Bogus" Version="29.0.2" />
Expand Down