mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-28 15:43:23 +02:00

Use the tag-related Task methods in the Tags column type This column type was taking a shortcut by assuming the `tags` property contains a comma-separated list of tags. This property is now deprecated and tags are stored in individual properties. The tag-related Task methods correctly access these new properties. Includes a test for the fixed behavior and a test demonstrating that `task info` already does the right thing.
31 lines
886 B
YAML
31 lines
886 B
YAML
name: release-tests
|
|
on: [push, pull_request]
|
|
jobs:
|
|
check-tarball:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
id: toolchain
|
|
|
|
- name: Cache cargo registry
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: ~/.cargo/registry
|
|
key: ${{ runner.os }}-cargo-registry-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
- name: Update apt repos
|
|
run: sudo apt-get update -y
|
|
|
|
- name: Install uuid-dev
|
|
run: sudo apt-get install -y uuid-dev
|
|
|
|
- name: make a release tarball and build from it
|
|
run: |
|
|
cmake -S. -Bbuild &&
|
|
make -Cbuild package_source &&
|
|
tar -xf build/task-*.tar.gz &&
|
|
cd task-*.*.* &&
|
|
cmake -S. -Bbuild &&
|
|
cmake --build build --target task_executable
|