name: Gitea Actions Demo run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 on: [push] jobs: Explore-Gitea-Actions: runs-on: runner steps: - name: Checkout code uses: actions/checkout@v3 - name: Set up Go uses: actions/setup-go@v4 with: go-version: '1.20' - name: Build Service run: | cd app/${{ matrix.service }} go mod tidy go build -o ${{ matrix.service }}_bin ./${{ matrix.service }} - name: Run Service run: | cd app/${{ matrix.service }} ./${{ matrix.service }}_bin -f etc/${{ matrix.service }}.yaml & background: true - name: Keep alive run: sleep 300