2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 06:47:20 +08:00
Files
panel/.github/workflows/test.yml
2024-10-25 16:32:47 +08:00

26 lines
594 B
YAML

name: Test
on:
push:
branches:
- main
pull_request:
jobs:
unit:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up WARP
uses: fscarmen/warp-on-actions@v1.2
- name: Setup Go
uses: actions/setup-go@v5
with:
cache: true
go-version: 'stable'
- name: Install dependencies
run: sudo apt-get install -y curl jq
- name: Set up environment
run: |
cp config.example.yml config.yml
- name: Run tests
run: sudo go test ./...