feat: first version
check / tests and shellcheck (push) Failing after 56s

This commit is contained in:
Felitendo committed 2026-10-02 10:39:46 +02:00
commit 3e98dd1e7e
48 files changed
+13025

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
name: check
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
check:
name: tests and shellcheck
runs-on: ubuntu-latest
# Arch has FreeRDP 3, which the hook test loads.
container: archlinux:latest
steps:
- name: Install the tools
run: |
pacman -Syu --noconfirm --needed git base-devel python freerdp shared-mime-info \
gettext scdoc shellcheck desktop-file-utils
- uses: actions/checkout@v7
- run: make check
# NTLM against the spec's test vectors, the feed, the .rdp files, the
# icons, a fake RD Web server, the hook and the command end to end.
- run: make test
- name: Build the catalogs and the man page
run: make build
+42
View File
@@ -0,0 +1,42 @@
name: release
on:
push:
tags: ['v*']
permissions:
contents: write
jobs:
release:
name: Test and release
runs-on: ubuntu-latest
container: archlinux:latest
steps:
- name: Install the tools
run: |
pacman -Syu --noconfirm --needed git base-devel python freerdp shared-mime-info \
gettext scdoc github-cli
- uses: actions/checkout@v7
with:
# All tags, for the link to the changes since the last release.
fetch-depth: 0
- name: Check the tag against the Makefile
run: .github/check-version.sh "${{ github.ref_name }}"
- name: Check CHANGELOG.md has this release
run: .github/release-notes.sh --title "${{ github.ref_name }}"
- run: make test
- name: Create the release
env:
GH_TOKEN: ${{ github.token }}
run: |
git config --global --add safe.directory "$PWD"
.github/release-notes.sh "${{ github.ref_name }}" > notes.md
gh release create "${{ github.ref_name }}" \
--title "$(.github/release-notes.sh --title "${{ github.ref_name }}")" \
--notes-file notes.md