Skip to content

Commit

Permalink
chore: Update GH actions (#153)
Browse files Browse the repository at this point in the history
* chore: Update actions

* chore: Add latest dotnet version

---------

Co-authored-by: Oskar Klintrot <[email protected]>
  • Loading branch information
OskarKlintrot and Oskar Klintrot authored Jul 8, 2024
1 parent 4bac232 commit 39edc7c
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 19 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.x.x
dotnet-version: |
6.x.x
8.x.x
- name: Run tests
run: dotnet run -- test --parallel
working-directory: tools/Build
4 changes: 2 additions & 2 deletions .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.x.x
- name: Clean up after release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
environment: Push package

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.x.x
- name: Push NuGet Packages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.x.x
- name: Create GitHub Release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.x.x
- name: Update README
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
if: github.event_name == 'push'
- name: Checkout main
uses: actions/checkout@v2
uses: actions/checkout@v4
if: github.event_name == 'schedule'
with:
ref: main
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.x.x
- name: Update packages
Expand Down
14 changes: 9 additions & 5 deletions src/dotnet-updatr/Properties/launchSettings.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{
"profiles": {
"UpdatR.Cli": {
"commandName": "Project",
"commandLineArgs": "--help"
},
"WSL": {
"commandName": "WSL2",
"commandLineArgs": "UpdatR.Cli.dll --path /mnt/c/repos/UpdatR/UpdatR.sln --verbosity Debug",
"environmentVariables": {},
"distributionName": "Ubuntu"
},
"UpdatR.Cli --help": {
"commandName": "Project",
"commandLineArgs": "--help"
},
"UpdatR.Cli": {
"commandName": "Project",
"commandLineArgs": "--dry-run",
"workingDirectory": "C:\\_repos\\OskarKlintrot\\UpdatR\\tools\\Build"
}
}
}

0 comments on commit 39edc7c

Please sign in to comment.