Skip to content

Commit 28d1c86

Browse files
Merge branch 'github-actions-updates'
2 parents f7c510b + 094bdcd commit 28d1c86

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

.github/workflows/close-no-response.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
pull-requests: write
1212
steps:
1313
# https://github.com/marketplace/actions/close-stale-issues
14-
- uses: actions/stale@v5
14+
- uses: actions/stale@v6
1515
with:
1616
days-before-stale: -1 # Add the stale label manually.
1717
days-before-close: 21

.github/workflows/dart.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ defaults:
1414

1515
jobs:
1616
generator:
17-
runs-on: ubuntu-20.04
17+
runs-on: ubuntu-22.04
1818
container:
1919
image: dart:2.17.6
2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v3
2222
- name: Install ObjectBox C-API
2323
run: ./install.sh
2424
- name: Test
2525
run: ./generator/test.sh
2626

2727
# make sure the init script doesn't stop working - it's not something we usually run during normal development
2828
init-script:
29-
runs-on: ubuntu-20.04
29+
runs-on: ubuntu-22.04
3030
steps:
31-
- uses: actions/checkout@v2
31+
- uses: actions/checkout@v3
3232
- uses: subosito/flutter-action@v2
3333
with:
3434
flutter-version: 3.0.5
@@ -42,7 +42,7 @@ jobs:
4242
os:
4343
- windows-2022
4444
- macos-11
45-
- ubuntu-20.04
45+
- ubuntu-22.04
4646
sdk:
4747
- 2.17.6
4848
- 2.16.2
@@ -53,7 +53,7 @@ jobs:
5353
- uses: dart-lang/setup-dart@v1
5454
with:
5555
sdk: ${{ matrix.sdk }}
56-
- uses: actions/checkout@v2
56+
- uses: actions/checkout@v3
5757
- name: Install ObjectBox C-API
5858
working-directory: objectbox
5959
run: ../install.sh
@@ -65,12 +65,12 @@ jobs:
6565
../tool/pub.sh run test
6666
6767
valgrind:
68-
runs-on: ubuntu-20.04
68+
runs-on: ubuntu-22.04
6969
steps:
7070
- uses: dart-lang/setup-dart@v1
7171
with:
7272
sdk: 2.17.6
73-
- uses: actions/checkout@v2
73+
- uses: actions/checkout@v3
7474
- name: Install ObjectBox C-API
7575
run: ./install.sh
7676
- name: Install Valgrind
@@ -91,7 +91,7 @@ jobs:
9191
matrix:
9292
os:
9393
- macos-11
94-
- ubuntu-20.04
94+
- ubuntu-22.04
9595
flutter-version:
9696
- 3.0.5
9797
- 2.5.0 # currently the lowest fully supported version (i.e. generator + lib)
@@ -102,13 +102,13 @@ jobs:
102102
os: windows-2019
103103
runs-on: ${{ matrix.os }}
104104
steps:
105-
- uses: actions/checkout@v2
105+
- uses: actions/checkout@v3
106106
- uses: subosito/flutter-action@v2
107107
with:
108108
flutter-version: ${{ matrix.flutter-version }}
109109
cache: true
110110
# macos-11 and windows-2019/2022 default to Java 8, but Android Plugin requires 11.
111-
- uses: actions/setup-java@v2
111+
- uses: actions/setup-java@v3
112112
with:
113113
distribution: 'temurin'
114114
java-version: '11'

.github/workflows/lint.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ on:
1010

1111
jobs:
1212
analyze:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-22.04
1414
container:
1515
image: dart:2.17.6
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v3
1818
- run: dart run build_runner build
1919
working-directory: objectbox
2020
- run: dart analyze
2121
working-directory: objectbox
2222
- run: dart format --set-exit-if-changed --fix .
2323

2424
pana:
25-
runs-on: ubuntu-20.04
25+
runs-on: ubuntu-22.04
2626
steps:
27-
- uses: actions/checkout@v2
27+
- uses: actions/checkout@v3
2828
- uses: axel-op/dart-package-analyzer@v3
2929
id: analysis # set an id for the current step
3030
with:
@@ -41,9 +41,9 @@ jobs:
4141
fi
4242
4343
coverage:
44-
runs-on: ubuntu-20.04
44+
runs-on: ubuntu-22.04
4545
steps:
46-
- uses: actions/checkout@v2
46+
- uses: actions/checkout@v3
4747
- uses: subosito/flutter-action@v2
4848
with:
4949
flutter-version: 3.0.5
@@ -60,13 +60,13 @@ jobs:
6060
result_path: objectbox/coverage/lcov.info
6161
min_coverage: 90
6262
token: ${{ github.token }}
63-
- uses: danielpalme/ReportGenerator-GitHub-Action@4.8.10
63+
- uses: danielpalme/ReportGenerator-GitHub-Action@5.1.12
6464
with:
6565
reports: 'objectbox/coverage/lcov.info'
6666
targetdir: 'coveragereport'
6767
reporttypes: 'HtmlInline' # The output formats and scope (separated by semicolon) Values: Badges, Clover, Cobertura, CsvSummary, Html, HtmlChart, HtmlInline, HtmlInline_AzurePipelines, HtmlInline_AzurePipelines_Dark, HtmlSummary, JsonSummary, Latex, LatexSummary, lcov, MarkdownSummary, MHtml, PngChart, SonarQube, TeamCitySummary, TextSummary, Xml, XmlSummary
6868
sourcedirs: 'objectbox'
69-
- uses: actions/upload-artifact@v2
69+
- uses: actions/upload-artifact@v3
7070
with:
7171
name: CoverageReport # Artifact name
7272
path: coveragereport # Directory containing files to upload

0 commit comments

Comments
 (0)