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

chore: update CI jobs version #369

Merged
merged 1 commit into from
Sep 14, 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
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup .NET SDK
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
3.1.x
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:

- name: Upload test results artefacts
if: github.repository_owner == 'casbin' && github.event_name == 'push'
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "drop-ci-test-results"
path: './test-results'
Expand All @@ -82,12 +82,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Dry run semantic-release
run: |
export PATH=$PATH:$(yarn global bin)
yarn global add semantic-release@17.4.3
yarn global add semantic-release@24.1.1
semantic-release --dry-run

release-build-version:
Expand All @@ -97,7 +97,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -108,7 +108,7 @@ jobs:
run: git tag -l -n

- name: Setup .NET SDK
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
3.1.x
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
}

- name: Upload packages artefacts
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "drop-ci-build-packages"
path: './packages'
14 changes: 7 additions & 7 deletions .github/workflows/infersharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup .NET SDK
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
3.1.x
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
run: cat infer-out/report.txt

- name: Upload net8.0 infer# results artefacts
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "infersharp-net8.0-results"
path: './infer-out/report.txt'
Expand All @@ -57,7 +57,7 @@ jobs:
run: cat infer-out/report.txt

- name: Upload net7.0 infer# results artefacts
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "infersharp-net7.0-results"
path: './infer-out/report.txt'
Expand All @@ -71,7 +71,7 @@ jobs:
run: cat infer-out/report.txt

- name: Upload net6.0 infer# results artefacts
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "infersharp-net6.0-results"
path: './infer-out/report.txt'
Expand All @@ -85,7 +85,7 @@ jobs:
run: cat infer-out/report.txt

- name: Upload net5.0 infer# results artefacts
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "infersharp-net5.0-results"
path: './infer-out/report.txt'
Expand All @@ -99,7 +99,7 @@ jobs:
run: cat infer-out/report.txt

- name: Upload net3.1 infer# results artefacts
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "infersharp-net3.1-results"
path: './infer-out/report.txt'
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup .NET SDK
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
3.1.x
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
}

- name: Upload test results artefacts
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "drop-ci-test-results"
path: './test-results'
Expand All @@ -87,12 +87,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Run semantic-release
run: |
export PATH=$PATH:$(yarn global bin)
yarn global add semantic-release@19.0.2
yarn global add semantic-release@24.1.1
semantic-release

push-packages:
Expand All @@ -102,7 +102,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -113,7 +113,7 @@ jobs:
run: git tag -l -n

- name: Setup .NET SDK
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
3.1.x
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
}

- name: Upload packages artefacts
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "drop-ci-packages"
path: './packages'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semantic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: windows-latest
steps:
- name: semantic-pull-request
uses: amannn/action-semantic-pull-request@v4
uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
Loading