fix: patch OpenSSL for OpenResty #439
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 'stable' | |
- name: Install dependencies | |
run: sudo apt-get install -y curl jq | |
- name: Set up environment | |
run: | | |
cp panel-example.conf .env | |
echo "DB_FILE=$(pwd)/database/panel.db" >> .env | |
go run . artisan key:generate | |
go run . artisan migrate | |
- name: Run tests | |
run: go test ./... |