Skip to content

Commit

Permalink
revlock bites again
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Feb 1, 2023
1 parent 7e1a9cf commit e5ca636
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
srcroot: ${{ github.workspace }}

- run: sed -i.bak "s/^const version = .*$/const version = \"${{ steps.tea.outputs.version }}\"/" src/app.ts
- run: deno task compile
- run: tea deno task compile
- run: ./tea --version # verify compilation works
- run: tar cJf tea-${{ steps.tea.outputs.version }}+${{ matrix.platform.build-id }}.tar.xz ./tea
- uses: actions/upload-artifact@v3
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
- run: deno lint src/*/**.ts
- uses: teaxyz/setup@v0
- run: tea deno lint src/*/**.ts

typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
- run: deno task typecheck
- uses: teaxyz/setup@v0
- run: tea deno task typecheck

# in situations without `git` we had a softlock problem that we're testing for here
test-sync-lock:
Expand All @@ -63,10 +63,9 @@ jobs:
- run: pacman -Sy --noconfirm unzip
if: ${{ matrix.container == 'archlinux:latest' }}

- uses: denoland/setup-deno@v1
- uses: teaxyz/setup@v0

- run: |
deno task compile
mv tea /usr/local/bin
- run: tea deno task --config $GITHUB_WORKSPACE/deno.jsonc compile
working-directory: /usr/local/bin

- run: tea -S +gnu.org/wget wget -L tea.xyz/white-paper/ | tea -S +charm.sh/glow glow -
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ $ brew install teaxyz/pkgs/tea-cli
> have to unquarantine the binary:
>
> ```sh
> # download from https://github.com/teaxyz/cli/releases first
> $ xattr -d com.apple.quarantine ./tea
> ```
>
Expand Down Expand Up @@ -292,10 +293,10 @@ adding YAML front matter to its `pyproject.toml`:

```sh
$ cat <<EoYAML >> pyproject.toml
#---
# ---
# dependencies:
# python.org: ^3.11.3
#---
# ---
EoYAML
```

Expand All @@ -304,8 +305,8 @@ then you can add them there too (eg. `llvm.org`, our deps are always named
after project homepages because then you just google it and there’s no
ambiguity).

If you prefer we also support extracting your deps from a markdown table in
under a `# Dependencies` section in your `README.md`.
If you prefer we also support extracting your deps from a markdown table
under a `# Dependencies` section in your `README.md`:

```sh
$ cat <<EOF >>my-project/README.md
Expand All @@ -316,7 +317,7 @@ $ cat <<EOF >>my-project/README.md
EOF
```

Using your `README` is *kinda* neat. It makes this data both machine and human
Using your `README` is *kinda* neat; it makes this data both machine and human
readable.


Expand Down Expand Up @@ -648,3 +649,4 @@ If you got this error message, you need to install tea:
[discussion]: https://github.com/orgs/teaxyz/discussions
[pantry.extra]: https://github.com/teaxyz/pantry.extra
[`brew`]: https://brew.sh
[ticket]: ../../issues/new

0 comments on commit e5ca636

Please sign in to comment.