diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index d85e2295..7fd7b17f 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -20,9 +20,9 @@ jobs: generator: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 # Prefer running on Ubuntu over Dart Docker image - - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d #v1 + - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d # v1.6.0 with: sdk: 3.1.3 - name: Install ObjectBox C-API @@ -34,8 +34,8 @@ jobs: init-script: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - - uses: subosito/flutter-action@cc97e1648fff6ca5cc647fa67f47e70f7895510b # v2 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + - uses: subosito/flutter-action@cc97e1648fff6ca5cc647fa67f47e70f7895510b # v2.11.0 with: flutter-version: 3.13.6 cache: true @@ -57,10 +57,10 @@ jobs: - 2.18.6 runs-on: ${{ matrix.os }} steps: - - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d #v1 + - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d # v1.6.0 with: sdk: ${{ matrix.sdk }} - - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - name: Generator Test working-directory: generator run: | @@ -92,13 +92,13 @@ jobs: - 3.7.12 runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - - uses: subosito/flutter-action@cc97e1648fff6ca5cc647fa67f47e70f7895510b # v2 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + - uses: subosito/flutter-action@cc97e1648fff6ca5cc647fa67f47e70f7895510b # v2.11.0 with: flutter-version: ${{ matrix.flutter-version }} cache: true # windows-2022 defaults to Java 8, but Android Plugin requires at least 11. - - uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3 + - uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0 with: distribution: 'temurin' java-version: '17' diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 853643cd..90d65093 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,9 +16,9 @@ jobs: analyze: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 # Prefer running on Ubuntu over Dart Docker image - - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d #v1 + - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d # v1.6.0 with: sdk: 3.1.3 - name: Get dependencies @@ -47,8 +47,8 @@ jobs: permissions: checks: write # to publish the report steps: - - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - - uses: axel-op/dart-package-analyzer@7a6c3c66bce78d82b729a1ffef2d9458fde6c8d2 #v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + - uses: axel-op/dart-package-analyzer@7a6c3c66bce78d82b729a1ffef2d9458fde6c8d2 # v3 id: analysis # set an id for the current step with: githubToken: ${{ secrets.GITHUB_TOKEN }} @@ -68,9 +68,9 @@ jobs: permissions: checks: write # to publish the report steps: - - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 # Prefer running on Ubuntu over Dart Docker image - - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d #v1 + - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d # v1.6.0 with: sdk: 3.1.3 - name: Install coverage tools @@ -102,7 +102,7 @@ jobs: targetdir: 'coveragereport' 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 sourcedirs: 'objectbox' - - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3 + - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 with: name: CoverageReport # Artifact name path: coveragereport # Directory containing files to upload