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