A lexicon-driven AppView for ATProto. happyview.dev
backfill firehose jetstream atproto appview oauth lexicon
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

ci: automate releases with svu

Trezy 762e7fe0 08e4754f

+30 -6
-4
.github/workflows/docker.yml
··· 10 10 ATCR_IMAGE: atcr.io/${{ secrets.ATCR_NAMESPACE }}/happyview 11 11 12 12 jobs: 13 - test: 14 - uses: ./.github/workflows/test.yml 15 - 16 13 build: 17 - needs: test 18 14 runs-on: ubuntu-latest 19 15 permissions: 20 16 contents: read
+28 -2
.github/workflows/test.yml .github/workflows/release.yml
··· 1 - name: Test 1 + name: Release 2 2 3 3 on: 4 4 push: 5 + branches: [main] 5 6 pull_request: 6 7 branches: [main] 7 - workflow_call: 8 8 9 9 env: 10 10 SQLX_OFFLINE: true ··· 77 77 78 78 - name: Clippy 79 79 run: cargo clippy --all-targets -- -D warnings 80 + 81 + release: 82 + if: github.event_name == 'push' && github.ref == 'refs/heads/main' 83 + needs: [test, lint] 84 + runs-on: ubuntu-latest 85 + permissions: 86 + contents: write 87 + 88 + steps: 89 + - name: Checkout repository 90 + uses: actions/checkout@v4 91 + with: 92 + fetch-depth: 0 93 + 94 + - name: Install svu 95 + run: | 96 + curl -kL https://github.com/caarlos0/svu/releases/download/v3.2.2/svu_3.2.2_linux_amd64.tar.gz | tar zx 97 + mv svu /usr/local/bin/svu 98 + chmod +x /usr/local/bin/svu 99 + 100 + - name: Create release 101 + env: 102 + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} 103 + run: | 104 + VERSION_TAG=$(svu next) 105 + gh release create "$VERSION_TAG" -t "$VERSION_TAG" --generate-notes
+2
.svu.yaml
··· 1 + always: true 2 + v0: false