diff --git a/.gitea/ISSUE_TEMPLATE/bug_report.md b/.gitea/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index a77fdfd..0000000 --- a/.gitea/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -name: Bug report -about: For reporting bugs in micro -title: "[BUG]" -labels: '' -assignees: '' - ---- - -**Describe the bug** - -1. What are you trying to do? -2. What did you expect to happen? -3. What happens instead? - -**How to reproduce the bug:** - -If possible, please include a minimal code snippet here. diff --git a/.gitea/ISSUE_TEMPLATE/feature-request---enhancement.md b/.gitea/ISSUE_TEMPLATE/feature-request---enhancement.md deleted file mode 100644 index c722ea6..0000000 --- a/.gitea/ISSUE_TEMPLATE/feature-request---enhancement.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: Feature request / Enhancement -about: If you have a need not served by micro -title: "[FEATURE]" -labels: '' -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Additional context** -Add any other context or screenshots about the feature request here. \ No newline at end of file diff --git a/.gitea/ISSUE_TEMPLATE/question.md b/.gitea/ISSUE_TEMPLATE/question.md deleted file mode 100644 index 3d65c72..0000000 --- a/.gitea/ISSUE_TEMPLATE/question.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -name: Question -about: Ask a question about micro -title: '' -labels: '' -assignees: '' - ---- \ No newline at end of file diff --git a/.gitea/PULL_REQUEST_TEMPLATE.md b/.gitea/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index cba3cbc..0000000 --- a/.gitea/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,9 +0,0 @@ -## Pull Request template -Please, go through these steps before clicking submit on this PR. - -1. Give a descriptive title to your PR. -2. Provide a description of your changes. -3. Make sure you have some relevant tests. -4. Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if applicable). - -**PLEASE REMOVE THIS TEMPLATE BEFORE SUBMITTING** diff --git a/.gitea/autoapprove.yml b/.gitea/autoapprove.yml deleted file mode 100644 index ef43e49..0000000 --- a/.gitea/autoapprove.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: "autoapprove" - -on: - pull_request_target: - types: [assigned, opened, synchronize, reopened] - workflow_run: - workflows: ["prbuild"] - types: - - completed - -permissions: - pull-requests: write - contents: write - -jobs: - autoapprove: - runs-on: ubuntu-latest - steps: - - name: approve - run: [ "curl -o tea https://dl.gitea.com/tea/main/tea-main-linux-amd64", - "chmod +x ./tea", - "./tea login add --name unistack --token ${{ secrets.GITHUB_TOKEN }} --url https://git.unistack.org", - "./tea pr --repo ${{ github.event.repository.name }}" - ] - if: github.actor == 'vtolstov' - id: approve - with: - github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitea/workflows/job_lint.yml b/.gitea/workflows/job_lint.yml deleted file mode 100644 index d97e747..0000000 --- a/.gitea/workflows/job_lint.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: lint - -on: - pull_request: - types: [opened, reopened, synchronize] - branches: - - master - - v3 - - v4 - -jobs: - lint: - runs-on: ubuntu-latest - steps: - - name: checkout code - uses: actions/checkout@v4 - with: - filter: 'blob:none' - - name: setup go - uses: actions/setup-go@v5 - with: - cache-dependency-path: "**/*.sum" - go-version: 'stable' - - name: setup deps - run: go get -v ./... - - name: run lint - uses: https://github.com/golangci/golangci-lint-action@v6 - with: - version: 'latest' diff --git a/.gitea/workflows/job_test.yml b/.gitea/workflows/job_test.yml deleted file mode 100644 index f68cbca..0000000 --- a/.gitea/workflows/job_test.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: test - -on: - pull_request: - types: [opened, reopened, synchronize] - branches: - - master - - v3 - - v4 - push: - branches: - - master - - v3 - - v4 - -jobs: - test: - runs-on: ubuntu-latest - steps: - - name: checkout code - uses: actions/checkout@v4 - with: - filter: 'blob:none' - - name: setup go - uses: actions/setup-go@v5 - with: - cache-dependency-path: "**/*.sum" - go-version: 'stable' - - name: setup deps - run: go get -v ./... - - name: run test - env: - INTEGRATION_TESTS: yes - run: go test -mod readonly -v ./... diff --git a/.gitea/workflows/job_tests.yml b/.gitea/workflows/job_tests.yml deleted file mode 100644 index e8984f1..0000000 --- a/.gitea/workflows/job_tests.yml +++ /dev/null @@ -1,53 +0,0 @@ -name: test - -on: - pull_request: - types: [opened, reopened, synchronize] - branches: - - master - - v3 - - v4 - push: - branches: - - master - - v3 - - v4 - -jobs: - test: - runs-on: ubuntu-latest - steps: - - name: checkout code - uses: actions/checkout@v4 - with: - filter: 'blob:none' - - name: checkout tests - uses: actions/checkout@v4 - with: - ref: master - filter: 'blob:none' - repository: unistack-org/micro-tests - path: micro-tests - - name: setup go - uses: actions/setup-go@v5 - with: - cache-dependency-path: "**/*.sum" - go-version: 'stable' - - name: setup go work - env: - GOWORK: /workspace/${{ github.repository_owner }}/go.work - run: | - go work init - go work use . - go work use micro-tests - - name: setup deps - env: - GOWORK: /workspace/${{ github.repository_owner }}/go.work - run: go get -v ./... - - name: run tests - env: - INTEGRATION_TESTS: yes - GOWORK: /workspace/${{ github.repository_owner }}/go.work - run: | - cd micro-tests - go test -mod readonly -v ./... || true