From 2e5eddd513956fc8675c0c17ddd28cad10536afc Mon Sep 17 00:00:00 2001 From: Gabriel Omar Cotelli Date: Wed, 3 Jul 2024 12:11:25 -0300 Subject: [PATCH] Update GitHub actions --- .github/workflows/loading-groups.yml | 22 ++++++++++++++++------ .github/workflows/markdown-lint.yml | 7 +++++-- .github/workflows/unit-tests.yml | 21 +++++++++++++-------- 3 files changed, 34 insertions(+), 16 deletions(-) diff --git a/.github/workflows/loading-groups.yml b/.github/workflows/loading-groups.yml index 53195035..c8657f68 100644 --- a/.github/workflows/loading-groups.yml +++ b/.github/workflows/loading-groups.yml @@ -1,18 +1,28 @@ name: Baseline Groups - -on: [push,pull_request,workflow_dispatch] - +on: + - push + - pull_request + - workflow_dispatch jobs: group-loading: runs-on: ubuntu-latest strategy: fail-fast: false matrix: - smalltalk: [ Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0 ] - load-spec: [ deployment, dependent-sunit-extensions, tests, tools, development ] + smalltalk: + - Pharo64-11 + - Pharo64-10 + - Pharo64-9.0 + - Pharo64-8.0 + load-spec: + - deployment + - dependent-sunit-extensions + - tests + - tools + - development name: ${{ matrix.smalltalk }} + ${{ matrix.load-spec }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: hpi-swa/setup-smalltalkCI@v1 with: smalltalk-image: ${{ matrix.smalltalk }} diff --git a/.github/workflows/markdown-lint.yml b/.github/workflows/markdown-lint.yml index fbb50fa2..84e4633b 100644 --- a/.github/workflows/markdown-lint.yml +++ b/.github/workflows/markdown-lint.yml @@ -1,11 +1,14 @@ name: Markdown Lint -on: [push,pull_request,workflow_dispatch] +on: + - push + - pull_request + - workflow_dispatch jobs: remark-lint: name: runner / markdownlint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: markdownlint uses: reviewdog/action-markdownlint@v0 with: diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 852b0a47..c3edf0cf 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -1,17 +1,22 @@ -name: Unit Tests - -on: [push,pull_request,workflow_dispatch] - +name: Pharo Unit Tests +on: + - push + - pull_request + - workflow_dispatch jobs: - build: + unit-tests: runs-on: ubuntu-latest strategy: matrix: - smalltalk: [ Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0 ] + smalltalk: + - Pharo64-11 + - Pharo64-10 + - Pharo64-9.0 + - Pharo64-8.0 fail-fast: false name: ${{ matrix.smalltalk }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Smalltalk CI uses: hpi-swa/setup-smalltalkCI@v1 with: @@ -22,7 +27,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} timeout-minutes: 15 - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: name: Unit-Tests-${{matrix.smalltalk}} token: ${{ secrets.CODECOV_TOKEN }}