Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Build the whole app
Browse files Browse the repository at this point in the history
kovipu committed Sep 12, 2024

Verified

This commit was signed with the committer’s verified signature.
jkoenig134 Julian König
1 parent ef04ee8 commit f48630a
Showing 4 changed files with 53 additions and 38 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/rust.yml

This file was deleted.

49 changes: 49 additions & 0 deletions .github/workflows/verify-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Verify Build
on:
push:
branches: '**'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4

- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable

- name: Rust cache
uses: Swatinem/rust-cache@v2

- name: Run clippy
run: cargo clippy -- -D warnings

- name: Install Stellar
run: cargo install --locked stellar-cli --features opt

- name: Build contracts
run: make build

- name: Setup env
run: cp .env.example .env

- name: Install and build
run: |
npm install
npm run init
- name: Install, build, and upload your site output
uses: withastro/action@v2
4 changes: 3 additions & 1 deletion src/pages/_landing/LandingPage.tsx
Original file line number Diff line number Diff line change
@@ -64,7 +64,9 @@ const LandingPage = () => (
</div>
</div>
<div className="w-1/2 p-14 my-auto">
<p className="text-xl mb-8 leading-relaxed tracking-tight">Got a question? Ask us in the Stellar Dev Discord!</p>
<p className="text-xl mb-8 leading-relaxed tracking-tight">
Got a question? Ask us in the Stellar Dev Discord!
</p>
<NativeLinkButton to="https://discord.com/invite/stellardev" className="text-lg">
Join Stellar Discord
</NativeLinkButton>
2 changes: 1 addition & 1 deletion src/pages/_lend/LendableAssetCard.tsx
Original file line number Diff line number Diff line change
@@ -143,7 +143,7 @@ export const LendableAssetCard = ({ currency }: LendableAssetCardProps) => {

{isPoor ? (
<div className="tooltip" data-tip={!wallet ? 'Connect a wallet first' : 'Not enough funds'}>
<Button disabled={true} onClick={() => { }}>
<Button disabled={true} onClick={() => {}}>
Deposit
</Button>
</div>

0 comments on commit f48630a

Please sign in to comment.