File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ jobs:
2626 # ASPNETCORE_ENVIRONMENT: Development
2727
2828 steps :
29- - uses : actions/checkout@v3
29+ - uses : actions/checkout@v6
3030
3131 # get version of machine.py - MACHINE_PY_IMAGE will force the docker compose to use the proper version of machine.py
3232 - name : Install regctl
33- uses : iarekylew00t/regctl-installer@v1
33+ uses : iarekylew00t/regctl-installer@v4.0.8
3434
3535 - name : Set proper version of Machine.py
3636 run : |
@@ -43,12 +43,12 @@ jobs:
4343 echo $MACHINE_PY_IMAGE $MACHINE_PY_CPU_IMAGE
4444
4545 - name : Setup .NET
46- uses : actions/setup-dotnet@v3
46+ uses : actions/setup-dotnet@v5
4747 with :
48- dotnet-version : 8 .0.x
48+ dotnet-version : 10 .0.x
4949
5050 - name : Start containers
51- run : dotnet build && docker compose -f "docker-compose.yml" up -d && sleep 20 # allow time for mongo to start up properly
51+ run : dotnet build && docker compose -f "docker-compose.yml" up -d && sleep 20 # allow time for mongo to start up properly
5252
5353 - name : Debug network
5454 run : docker ps -a && docker logs --since 10m serval_cntr && docker logs --since 10m echo_cntr && docker logs --since 10m machine-engine-cntr && docker logs --since 10m serval-mongo-1 && docker logs --since 10m machine-job-cntr
6363 run : docker ps -a && docker logs --since 10m serval_cntr && docker logs --since 10m echo_cntr && docker logs --since 10m machine-engine-cntr && docker logs --since 10m serval-mongo-1 && docker logs --since 10m machine-job-cntr
6464
6565 - name : Upload coverage reports to Codecov
66- uses : codecov/codecov-action@v3
66+ uses : codecov/codecov-action@v5
6767 env :
6868 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
6969
Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v4
14+ - uses : actions/checkout@v6
1515 - name : Setup .NET
16- uses : actions/setup-dotnet@v4
16+ uses : actions/setup-dotnet@v5
1717 with :
18- dotnet-version : 8 .0.x
18+ dotnet-version : 10 .0.x
1919 - name : Start MongoDB
20- uses : supercharge/mongodb-github-action@1.8.0
20+ uses : supercharge/mongodb-github-action@1.12.1
2121 with :
2222 mongodb-version : " 8.0"
2323 mongodb-replica-set : rs0
@@ -42,13 +42,13 @@ jobs:
4242 - name : Test
4343 run : dotnet test --verbosity normal --filter "TestCategory!=E2E&TestCategory!=E2EMissingServices" --collect:"Xplat Code Coverage" --logger "trx;LogFileName=test-results.trx"
4444 - name : Test report
45- uses : dorny/test-reporter@v1
45+ uses : dorny/test-reporter@v2.5.0
4646 if : success() || failure()
4747 with :
4848 name : NUnit Tests
4949 path : src/**/TestResults/test-results.trx
5050 reporter : dotnet-trx
5151 - name : Upload coverage reports to Codecov
52- uses : codecov/codecov-action@v3
52+ uses : codecov/codecov-action@v5
5353 env :
5454 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change @@ -3,19 +3,19 @@ name: docker build
33on :
44 push :
55 tags :
6- - ' docker_*'
6+ - " docker_*"
77
88jobs :
99 docker :
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout
13- uses : actions/checkout@v3
13+ uses : actions/checkout@v5
1414 - name : Set up QEMU
15- uses : docker/setup-qemu-action@v2
15+ uses : docker/setup-qemu-action@v3
1616 - name : Generate Docker metadata
1717 id : meta
18- uses : docker/metadata-action@v4
18+ uses : docker/metadata-action@v5
1919 with :
2020 images : |
2121 ghcr.io/${{ github.repository }}
@@ -24,15 +24,15 @@ jobs:
2424 flavor : |
2525 latest=true
2626 - name : Set up Docker Buildx
27- uses : docker/setup-buildx-action@v2
27+ uses : docker/setup-buildx-action@v3
2828 - name : Login to GitHub Container Registry
29- uses : docker/login-action@v2
29+ uses : docker/login-action@v3
3030 with :
3131 registry : ghcr.io
3232 username : ${{ github.repository_owner }}
3333 password : ${{ secrets.GITHUB_TOKEN }}
3434 - name : Build and push
35- uses : docker/build-push-action@v4
35+ uses : docker/build-push-action@v6
3636 with :
3737 context : .
3838 push : true
Original file line number Diff line number Diff line change 2626
2727 # get version of machine.py - MACHINE_PY_IMAGE will force the docker compose to use the proper version of machine.py
2828 - name : Install regctl
29- uses : iarekylew00t/regctl-installer@v1
29+ uses : iarekylew00t/regctl-installer@v4.0.8
3030
3131 - name : Set proper version of Machine.py
3232 run : |
4141 - name : Setup .NET
4242 uses : actions/setup-dotnet@v5
4343 with :
44- dotnet-version : 8 .0.x
44+ dotnet-version : 10 .0.x
4545
4646 - name : Get Machine
4747 run : cd .. && git clone https://github.com/sillsdev/machine.git && cd machine && dotnet build && cd ../serval && dotnet build
@@ -114,7 +114,7 @@ jobs:
114114
115115 # Coverage export
116116 - name : Upload coverage reports to Codecov
117- uses : codecov/codecov-action@v3
117+ uses : codecov/codecov-action@v5
118118 env :
119119 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
120120
Original file line number Diff line number Diff line change @@ -11,15 +11,15 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v3
14+ - uses : actions/checkout@v6
1515 - name : Setup .NET
16- uses : actions/setup-dotnet@v3
16+ uses : actions/setup-dotnet@v5
1717 with :
18- dotnet-version : 6 .0.x
18+ dotnet-version : 10 .0.x
1919 - name : Pack
2020 run : dotnet pack src/Serval/src/Serval.Grpc/Serval.Grpc.csproj -c Release -o artifacts
2121 - name : Upload package
22- uses : actions/upload-artifact@v3
22+ uses : actions/upload-artifact@v6
2323 with :
2424 name : nuget-package
2525 path : artifacts/*.nupkg
Original file line number Diff line number Diff line change @@ -11,15 +11,15 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v4
14+ - uses : actions/checkout@v6
1515 - name : Setup .NET
16- uses : actions/setup-dotnet@v4
16+ uses : actions/setup-dotnet@v5
1717 with :
18- dotnet-version : 8 .0.x
18+ dotnet-version : 10 .0.x
1919 - name : Pack
2020 run : dotnet pack src/Serval/src/Serval.Client/Serval.Client.csproj -c Release -o artifacts
2121 - name : Upload package
22- uses : actions/upload-artifact@v4
22+ uses : actions/upload-artifact@v6
2323 with :
2424 name : nuget-package
2525 path : artifacts/*.nupkg
Original file line number Diff line number Diff line change @@ -11,15 +11,15 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v3
14+ - uses : actions/checkout@v6
1515 - name : Setup .NET
16- uses : actions/setup-dotnet@v3
16+ uses : actions/setup-dotnet@v5
1717 with :
18- dotnet-version : 6 .0.x
18+ dotnet-version : 10 .0.x
1919 - name : Pack
2020 run : dotnet pack src/Serval/src/SIL.DataAccess/SIL.DataAccess.csproj -c Release -o artifacts
2121 - name : Upload package
22- uses : actions/upload-artifact@v3
22+ uses : actions/upload-artifact@v6
2323 with :
2424 name : nuget-package
2525 path : artifacts/*.nupkg
You can’t perform that action at this time.
0 commit comments