From e71efab1880f27f2e5e01e2876df0268d1895b62 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 14 Jun 2026 21:52:40 +0800 Subject: [PATCH 1/2] docs: add tested-platforms matrix; standardize CI workflow to ci.yml Replace the stale 'Tested with bash 4.3.48' note with an OS/shell test matrix. Rename the CI workflow to ci.yml (name: CI). Replace the dead Travis badge with the GitHub Actions CI badge. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/{test.yml => ci.yml} | 2 +- README.md | 22 ++++++++++++---------- 2 files changed, 13 insertions(+), 11 deletions(-) rename .github/workflows/{test.yml => ci.yml} (99%) diff --git a/.github/workflows/test.yml b/.github/workflows/ci.yml similarity index 99% rename from .github/workflows/test.yml rename to .github/workflows/ci.yml index 0115605..de2278c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Test +name: CI on: push: diff --git a/README.md b/README.md index f4f5269..7ffbb22 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![GitHub](https://img.shields.io/github/license/xsh-lib/aws.svg?style=flat-square)](https://github.com/xsh-lib/aws/) [![GitHub last commit](https://img.shields.io/github/last-commit/xsh-lib/aws.svg?style=flat-square)](https://github.com/xsh-lib/aws/commits/master) -[![Travis (.com)](https://img.shields.io/travis/com/xsh-lib/aws.svg?style=flat-square)](https://travis-ci.com/xsh-lib/aws) +[![CI](https://github.com/xsh-lib/aws/actions/workflows/ci.yml/badge.svg)](https://github.com/xsh-lib/aws/actions/workflows/ci.yml) [![GitHub issues](https://img.shields.io/github/issues/xsh-lib/aws.svg?style=flat-square)](https://github.com/xsh-lib/aws/issues) [![GitHub pull requests](https://img.shields.io/github/issues-pr/xsh-lib/aws.svg?style=flat-square)](https://github.com/xsh-lib/aws/pulls) @@ -14,18 +14,20 @@ About xsh and its libraries, check out [xsh document](https://github.com/alexzha ## Requirements -1. bash +`xsh-lib/aws` is tested in CI ([GitHub Actions](https://github.com/xsh-lib/aws/actions/workflows/ci.yml)) on every push and pull request, across the following shell/OS combinations: - Tested with bash: - * 4.3.48 on Linux - * 3.2.57 on macOS +| Shell | Version | OS | Tested | +|-------|---------|-----------------------|:------:| +| bash | 3.2 | macOS | ✅ | +| bash | 4.4 | Linux (rockylinux:8) | ✅ | +| bash | 5.x | Linux (ubuntu-latest) | ✅ | +| bash | 5.x | macOS (Homebrew) | ✅ | +| zsh | 5.x | Linux (ubuntu-latest) | ✅ | +| zsh | 5.x | macOS | ✅ | - The utilities also run under **zsh** (the default shell on modern macOS): - xsh executes them under zsh's ksh emulation. Tested with zsh 5.x. +zsh utilities run under xsh's ksh emulation and require **xsh ≥ 0.7.0**. -1. awscli - - Tested with `awscli 1.17.4`. +Additionally requires **awscli** (tested with `awscli 1.17.4`). This project is still at version 0.x, and should be considered immature. From 47455d5dd9733238da43cee8ed0715671d78b68b Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 14 Jun 2026 22:10:34 +0800 Subject: [PATCH 2/2] docs: add CodeFactor code-quality badge Co-Authored-By: Claude Opus 4.8 (1M context) --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7ffbb22..83a125e 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![GitHub last commit](https://img.shields.io/github/last-commit/xsh-lib/aws.svg?style=flat-square)](https://github.com/xsh-lib/aws/commits/master) [![CI](https://github.com/xsh-lib/aws/actions/workflows/ci.yml/badge.svg)](https://github.com/xsh-lib/aws/actions/workflows/ci.yml) +[![CodeFactor](https://www.codefactor.io/repository/github/xsh-lib/aws/badge)](https://www.codefactor.io/repository/github/xsh-lib/aws) [![GitHub issues](https://img.shields.io/github/issues/xsh-lib/aws.svg?style=flat-square)](https://github.com/xsh-lib/aws/issues) [![GitHub pull requests](https://img.shields.io/github/issues-pr/xsh-lib/aws.svg?style=flat-square)](https://github.com/xsh-lib/aws/pulls)