This file contains hidden or 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: Ryubing Forgejo Test | |
| on: | |
| push: | |
| branches: [ forgejo ] | |
| paths-ignore: | |
| - '.forgejo/**' | |
| - '.github/**' | |
| - '.vscode/**' | |
| - '*.yml' | |
| - '*.json' | |
| - '*.md' | |
| - '.gitignore' | |
| - '.gitattributes' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup | |
| run: | | |
| sudo apt install -y gcc make sqlite3 | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| name: "Checkout code" | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: 'go.mod' | |
| token: ${{ github.token }} | |
| - name: Test | |
| run: TAGS="bindata timetzdata sqlite sqlite_unlock_notify" make test | |
| shell: bash |