From dd8fc9f3661225b8209e652d7792200aafc51512 Mon Sep 17 00:00:00 2001 From: mhochsto <116495532+mhochsto@users.noreply.github.com> Date: Fri, 13 Sep 2024 10:36:51 +0200 Subject: [PATCH] ci(test): fixed typo in Test Workflow; renamed all workflow and jobnames (#10) --- .github/workflows/build.yml | 8 ++++---- .github/workflows/lint.yml | 4 ++-- .github/workflows/{semantic-pr.yml => semantic.yml} | 4 ++-- .github/workflows/{test_report.yml => test-report.yml} | 6 +++--- .github/workflows/test.yml | 10 +++++----- 5 files changed, 16 insertions(+), 16 deletions(-) rename .github/workflows/{semantic-pr.yml => semantic.yml} (90%) rename .github/workflows/{test_report.yml => test-report.yml} (90%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba470f7..7a22a52 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,11 +1,11 @@ -name: Build +name: build on: push: branches: ["main"] pull_request: branches: ["main"] jobs: - Build-Android: + build_android: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -27,7 +27,7 @@ jobs: key: androidSdk - name: Build android run: cd example/ && flutter build apk - Build-Ios: + build_ios: runs-on: macos-latest steps: - uses: actions/checkout@v4 @@ -57,4 +57,4 @@ jobs: - name: Build ios run: cd example/ && flutter build ios --simulator env: - DEVELOPER_DIR: /Applications/Xcode_15.4.app \ No newline at end of file + DEVELOPER_DIR: /Applications/Xcode_15.4.app diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 918a37c..b3459a0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,11 +1,11 @@ -name: Dart lint +name: lint on: push: branches: ["main"] pull_request: branches: ["main"] jobs: - Analyze_sources: + lint_dart: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/semantic-pr.yml b/.github/workflows/semantic.yml similarity index 90% rename from .github/workflows/semantic-pr.yml rename to .github/workflows/semantic.yml index 69c77d4..e2116fe 100644 --- a/.github/workflows/semantic-pr.yml +++ b/.github/workflows/semantic.yml @@ -1,4 +1,4 @@ -name: 'Semantic PR Title' +name: semantic on: pull_request_target: @@ -12,7 +12,7 @@ permissions: pull-requests: read jobs: - main: + semantic_pr: name: Validate PR title runs-on: ubuntu-latest steps: diff --git a/.github/workflows/test_report.yml b/.github/workflows/test-report.yml similarity index 90% rename from .github/workflows/test_report.yml rename to .github/workflows/test-report.yml index df82bfa..1a8fd6a 100644 --- a/.github/workflows/test_report.yml +++ b/.github/workflows/test-report.yml @@ -1,8 +1,8 @@ # https://github.com/dorny/test-reporter?tab=readme-ov-file#recommended-setup-for-public-repositories -name: 'Test Report' +name: test-report on: workflow_run: - workflows: ['Test'] + workflows: ['test'] types: - completed permissions: @@ -10,7 +10,7 @@ permissions: actions: read checks: write jobs: - report: + test-report_dart: runs-on: ubuntu-latest steps: - uses: dorny/test-reporter@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3a728d8..36901f2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,11 +1,11 @@ -name: Test +name: test on: push: branches: ["main"] pull_request: branches: ["main"] jobs: - Test-Web: + test_web: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -17,9 +17,9 @@ jobs: uses: actions/upload-artifact@v3 with: name: test-results.json - path: ./test-result.json + path: ./test-results.json - Test-Android: + test_android: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -43,7 +43,7 @@ jobs: - name: Run Tests run: make test-android - Test-Ios: + test_ios: runs-on: macos-latest steps: - uses: actions/checkout@v4