test devbox

This commit is contained in:
千里走单骑 2024-05-03 04:45:05 +08:00
parent 6f8d0ccb1a
commit ff99259c55
1 changed files with 14 additions and 21 deletions

View File

@ -1,25 +1,18 @@
on: name: Testing with devbox
push:
# branches: on: push
# - main
tags:
- v*
pull_request:
types: [opened, synchronize, reopened]
name: SonarQube Scan
jobs: jobs:
sonarqube: test:
name: SonarQube Trigger
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checking out - uses: actions/checkout@v3
uses: actions/checkout@v4
with: - name: Install devbox
# Disabling shallow clone is recommended for improving relevancy of reporting uses: jetify-com/devbox-install-action@v0.9.0
fetch-depth: 0
- name: SonarQube Scan - name: Run arbitrary commands
uses: kitabisa/sonarqube-action@v1.2.0 run: devbox run -- echo "done!"
with:
host: ${{ secrets.SONARQUBE_HOST }} - name: Run a script called test
login: ${{ secrets.SONARQUBE_TOKEN }} run: devbox run test