Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 29 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,22 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
submodules: recursive
fetch-depth: 0

- name: Install dependencies
run: scripts/install-dependencies.sh
# Ensure we're using the latest version of mise in an attempt to catch upstream errors early.
- name: Get the latest mise version
id: mise
run: echo "version=$(curl -fsSL https://mise.jdx.dev/VERSION)" >> "$GITHUB_OUTPUT"

- name: Install mise
uses: jdx/mise-action@v4
with:
version: ${{ steps.mise.outputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build and test
env:
Expand Down Expand Up @@ -67,19 +76,32 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
fetch-depth: 0

- name: Checkout required submodules
run: |
git submodule update --init --depth 1 docs/_theme

- name: Install the tool dependencies
# Ensure we're using the latest version of mise in an attempt to catch upstream errors early.
- name: Get the latest mise version
id: mise
run: echo "version=$(curl -fsSL https://mise.jdx.dev/VERSION)" >> "$GITHUB_OUTPUT"

- name: Install mise
uses: jdx/mise-action@v4
with:
version: ${{ steps.mise.outputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install dependencies
run: scripts/install-dependencies.sh
- name: Cache the Jekyll dependencies
uses: actions/cache@v6
with:
path: docs/vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('docs/Gemfile.lock') }}
restore-keys: ${{ runner.os }}-gems-

- name: Build website
run: |
Expand Down
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
.local

/_site
/build
/docs/.jekyll-cache
/docs/current.json
/docs/releases
/docs/vendor
/macos/build
/scripts/Pipfile.lock
2 changes: 0 additions & 2 deletions .tool-versions

This file was deleted.

3 changes: 0 additions & 3 deletions Gemfile

This file was deleted.

219 changes: 0 additions & 219 deletions Gemfile.lock

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Generate monthly durations for similarly named calendar events.

### Builds

Overview follows the version numbering, build and signing conventions for InSeven apps. Further details can be found [here](https://github.com/inseven/build-documentation).
Build-time tool dependencies are managed with [mise](https://mise.jdx.dev); with mise activated in your shell, everything declared in 'mise.toml' is installed automatically.

Release builds are created on GitHub Actions using 'build.sh' in the 'scripts' directory. This script is primarily focused on setting up the environment for testing and signing. Local builds can be performed using the Xcode project found in the 'macOS' directory.

Expand All @@ -30,7 +30,7 @@ Jekyll can be used to serve the documentation locally for testing:

```bash
cd docs
gem install
bundle install
bundle exec jekyll serve
```

Expand Down
2 changes: 2 additions & 0 deletions docs/.bundle/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
BUNDLE_PATH: "vendor/bundle"
4 changes: 4 additions & 0 deletions docs/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ source "https://rubygems.org"
gem "jekyll", "~> 4.2.0"
gem "webrick", "~> 1.7"

gem "base64"
gem "bigdecimal"
gem "csv"

group :jekyll_plugins do
gem "theme", path: "_theme"
end
Expand Down
Loading