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

Minor build & security updates #1244

Merged
merged 7 commits into from
Oct 20, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Setup Nuget.exe
uses: nuget/setup-nuget@v1
uses: nuget/setup-nuget@v2
- name: Restore nuget Packages
run: dotnet restore Source/Mosa.sln
- name: Build
Expand Down
9 changes: 4 additions & 5 deletions Source/Mosa.Tool.Explorer.Avalonia/MainWindow.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ private async void DumpAllMethodStages_OnClick(object _, RoutedEventArgs e)

InstructionsStage.SelectedIndex = 0;

for (;;)
for (; ; )
{
UpdateInstructionStageSelection();

Expand All @@ -275,7 +275,7 @@ private async void DumpAllMethodStages_OnClick(object _, RoutedEventArgs e)

DebugStage.SelectedIndex = 0;

for (;;)
for (; ; )
{
UpdateDebugResults();

Expand Down Expand Up @@ -414,7 +414,6 @@ private void Save2_OnClick(object _, RoutedEventArgs e)

private void Last_OnClick(object _, RoutedEventArgs e) => SetTransformationStep(int.MaxValue);


private void SetBlock_OnIsCheckedChanged(object _, RoutedEventArgs e)
=> TransformsGrid_OnSelectionChanged(null, null);

Expand Down Expand Up @@ -622,8 +621,8 @@ private bool ShowGraphviz()
if (string.IsNullOrEmpty(Debug.Text) || !Debug.Text.StartsWith("digraph blocks"))
return false;

var dot = Path.GetTempFileName();
var img = Path.GetTempFileName();
var dot = Path.GetRandomFileName();
var img = Path.GetRandomFileName();

try
{
Expand Down
4 changes: 2 additions & 2 deletions Source/Mosa.Tool.Explorer/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1335,8 +1335,8 @@ private bool DisplayGraphviz()
if (!tbDebugResult.Text.Contains("digraph blocks"))
return false;

var dot = Path.GetTempFileName();
var bmp = Path.GetTempFileName();
var dot = Path.GetRandomFileName();
var bmp = Path.GetRandomFileName();

try
{
Expand Down
Loading