mirror of
https://github.com/gavvvr/obsidian-timecodes-plugin.git
synced 2026-07-22 05:38:08 +00:00
ci: upgrade actions-tasks to latest versions
This commit is contained in:
parent
9d3459d3a9
commit
a999124e21
3 changed files with 14 additions and 14 deletions
6
.github/workflows/build-ci-runner-image.yml
vendored
6
.github/workflows/build-ci-runner-image.yml
vendored
|
|
@ -38,7 +38,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Log in to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v4
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
|
|
@ -46,7 +46,7 @@ jobs:
|
|||
|
||||
- name: Prepare metadata for tags and labels
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v6
|
||||
with:
|
||||
images: ${{ env.IMAGE_NAME }}
|
||||
tags: |
|
||||
|
|
@ -56,7 +56,7 @@ jobs:
|
|||
org.opencontainers.image.description=Docker image for building and testing obsidian plugins (with E2E tests support)
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
uses: docker/build-push-action@v7
|
||||
with:
|
||||
file: ${{ env.DOCKERFILE_PATH }}
|
||||
build-args: |
|
||||
|
|
|
|||
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
|
|
@ -16,11 +16,11 @@ jobs:
|
|||
container:
|
||||
image: ghcr.io/${{ github.repository }}/ci-runner:node-24-obsidian-1.12.7-trixie-slim
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
uses: pnpm/action-setup@v6
|
||||
- name: Environment details
|
||||
run: pnpm dlx envinfo --system --binaries
|
||||
- name: Install dependencies
|
||||
|
|
@ -33,12 +33,12 @@ jobs:
|
|||
run: xvfb-run pnpm run test
|
||||
working-directory: e2e
|
||||
- name: Upload unit-test coverage data
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: lcov-unit.info
|
||||
path: out/coverage/lcov.info
|
||||
- name: Upload E2E-test coverage data
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: lcov-e2e.info
|
||||
path: e2e/out/coverage/lcov.info
|
||||
|
|
@ -47,20 +47,20 @@ jobs:
|
|||
needs: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||
- name: Download unit-tests coverage data
|
||||
uses: actions/download-artifact@v5
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: lcov-unit.info
|
||||
path: coverage/unit/
|
||||
- name: Download E2E-tests coverage data
|
||||
uses: actions/download-artifact@v5
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: lcov-e2e.info
|
||||
path: coverage/e2e/
|
||||
- name: SonarQube Scan
|
||||
uses: SonarSource/sonarqube-scan-action@v6
|
||||
uses: SonarSource/sonarqube-scan-action@v8
|
||||
env:
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
|
|
|
|||
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -15,10 +15,10 @@ jobs:
|
|||
contents: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v7
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
- uses: actions/setup-node@v5
|
||||
uses: pnpm/action-setup@v6
|
||||
- uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: '24'
|
||||
package-manager-cache: false
|
||||
|
|
|
|||
Loading…
Reference in a new issue