Skip to content

Commit

Permalink
add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Feb 28, 2024
1 parent d0a31fb commit 877bf7f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build
run-name: Build package
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:

- name: install elan
run: |
set -o pipefail
curl -sSfL https://github.com/leanprover/elan/releases/download/v3.0.0/elan-x86_64-unknown-linux-gnu.tar.gz | tar xz
./elan-init -y --default-toolchain none
echo "$HOME/.elan/bin" >> $GITHUB_PATH
- uses: actions/checkout@v4

- name: print lean and lake versions
run: |
lean --version
lake --version
- name: build package
run: env LEAN_ABORT_ON_PANIC=1 lake build
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This package provides internationalisation ("i18n") for Lean projects.
Add the following line to your projects `lakefile.lean`:

```lean
require i18n from git "TODO-ADD-CORRECT-URL" @ "main"
require i18n from git "https://github.com/hhu-adam/lean-i18n" @ "main"
```

There are three options to mark strings for translation:
Expand Down

0 comments on commit 877bf7f

Please sign in to comment.