Compare commits

...

15 Commits

Author SHA1 Message Date
Husen c9f94059cc chore: release v3.0.0
CI / Test (with Dockerfile) (push) Has been cancelled
CI / Publish OCI image (push) Has been cancelled
CI / Test (with prebuilt OCI Image) (push) Has been cancelled
CI / Release (push) Has been cancelled
Signed-off-by: Husen <hi@husen.id>
2026-01-16 22:59:41 +07:00
dependabot[bot] 5c996bd4d2 Merge pull request #59 from heyhusen/dependabot/github_actions/actions/checkout-6 2026-01-16 15:51:34 +00:00
dependabot[bot] 3bffac3ae7 chore(deps): bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-16 15:50:07 +00:00
Husen 91e8b8c11d Merge pull request #61 from heyhusen/ci/failed-test
ci: update spotify package to v1.2.79.427-1 for test
2026-01-16 22:46:18 +07:00
Husen 347dece6de ci: update spotify package to v1.2.79.427-1 for test
Signed-off-by: Husen <hi@husen.id>
2026-01-16 22:44:19 +07:00
Husen 500fc82963 Merge pull request #60 from dcelasun/feat/replace-paru-with-yay
feat: Replace paru with yay
2025-12-27 15:50:11 +07:00
D. Can Celasun c373f73845 feat: Replace paru with yay
Paru has not been updated in months and is incompatible with the current
version of pacman / libalpm, which is v16.0.0. See upstream issue [1].

Replace paru with yay so the action works again.

Also updated CI test with latest Spotify as the old version is gone now.

[1] https://github.com/Morganamilo/paru/issues/1454
2025-12-14 19:32:53 +00:00
Husen 08dba55302 Merge pull request #58 from heyhusen/ci/weekly-dependabot
ci: change dependabot update to weekly
2025-08-16 09:00:33 +07:00
Husen bed26d7507 ci: change dependabot update to weekly
Signed-off-by: Husen <hi@husen.id>
2025-08-16 08:55:31 +07:00
dependabot[bot] 8fa9eb7023 Merge pull request #57 from heyhusen/dependabot/github_actions/actions/checkout-5 2025-08-12 11:22:51 +00:00
dependabot[bot] f87823ed79 chore(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 04:11:09 +00:00
Husen f74e99ad3c Merge pull request #56 from heyhusen/ci/token-permission
ci: allow GITHUB_TOKEN to push OCI image & create a release
2025-08-01 04:30:58 +07:00
Husen 5f746d9353 ci: allow GITHUB_TOKEN to push OCI image & create a release
Signed-off-by: Husen <hi@husen.id>
2025-08-01 04:28:16 +07:00
dependabot[bot] 2afeaa64ad Merge pull request #55 from heyhusen/dependabot/github_actions/tj-actions/branch-names-9 2025-07-30 01:04:29 +00:00
dependabot[bot] adae81c2d0 chore(deps): bump tj-actions/branch-names from 8 to 9
Bumps [tj-actions/branch-names](https://github.com/tj-actions/branch-names) from 8 to 9.
- [Release notes](https://github.com/tj-actions/branch-names/releases)
- [Changelog](https://github.com/tj-actions/branch-names/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/branch-names/compare/v8...v9)

---
updated-dependencies:
- dependency-name: tj-actions/branch-names
  dependency-version: '9'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-29 20:50:34 +00:00
7 changed files with 32 additions and 22 deletions
+1 -1
View File
@@ -4,4 +4,4 @@ updates:
- package-ecosystem: "github-actions" - package-ecosystem: "github-actions"
directory: "/" directory: "/"
schedule: schedule:
interval: "daily" interval: "weekly"
+17 -13
View File
@@ -17,7 +17,7 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v6
- name: Update action.yml to build locally - name: Update action.yml to build locally
run: | run: |
@@ -26,14 +26,14 @@ jobs:
- name: Get sample package - name: Get sample package
run: | run: |
# Spotify 1:1.2.63.394-1 # Spotify 1:1.2.79.427-1
mkdir spotify mkdir spotify
pushd spotify pushd spotify
wget https://github.com/christian-heusel/aur/raw/5032e51a0b493cb7149264ec27a761ac85c81933/spotify/PKGBUILD wget https://github.com/christian-heusel/aur/raw/f12a03c830a3d4a5c16de561bf411eec55d0798c/spotify/PKGBUILD
wget https://github.com/christian-heusel/aur/raw/5032e51a0b493cb7149264ec27a761ac85c81933/spotify/.SRCINFO wget https://github.com/christian-heusel/aur/raw/f12a03c830a3d4a5c16de561bf411eec55d0798c/spotify/.SRCINFO
wget https://github.com/christian-heusel/aur/raw/5032e51a0b493cb7149264ec27a761ac85c81933/spotify/LICENSE wget https://github.com/christian-heusel/aur/raw/f12a03c830a3d4a5c16de561bf411eec55d0798c/spotify/LICENSE
wget https://github.com/christian-heusel/aur/raw/5032e51a0b493cb7149264ec27a761ac85c81933/spotify/spotify.protocol wget https://github.com/christian-heusel/aur/raw/f12a03c830a3d4a5c16de561bf411eec55d0798c/spotify/spotify.protocol
wget https://github.com/christian-heusel/aur/raw/5032e51a0b493cb7149264ec27a761ac85c81933/spotify/spotify.sh wget https://github.com/christian-heusel/aur/raw/f12a03c830a3d4a5c16de561bf411eec55d0798c/spotify/spotify.sh
popd popd
- name: Running test - name: Running test
uses: ./ uses: ./
@@ -42,7 +42,7 @@ jobs:
updpkgsums: true updpkgsums: true
srcinfo: true srcinfo: true
path: 'spotify' path: 'spotify'
pgpkeys: 'C85668DF69375001' pgpkeys: '5384CE82BA52C83A'
- name: Show diff - name: Show diff
run: | run: |
@@ -54,10 +54,12 @@ jobs:
needs: pretest needs: pretest
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
packages: write
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v6
- name: Log in to ghcr.io - name: Log in to ghcr.io
uses: redhat-actions/podman-login@v1 uses: redhat-actions/podman-login@v1
@@ -106,7 +108,7 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v6
- name: Get sample PKGBUILD - name: Get sample PKGBUILD
run: wget https://github.com/${{ github.repository_owner }}/plenti-bin/raw/f5ffaaee02a2119aa16f6b7a27e87e198e096b47/PKGBUILD run: wget https://github.com/${{ github.repository_owner }}/plenti-bin/raw/f5ffaaee02a2119aa16f6b7a27e87e198e096b47/PKGBUILD
@@ -138,17 +140,19 @@ jobs:
release: release:
name: Release name: Release
runs-on: ubuntu-latest
needs: test needs: test
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
permissions:
contents: write
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v6
- name: Get branch/tag names - name: Get branch/tag names
id: branch-name id: branch-name
uses: tj-actions/branch-names@v8 uses: tj-actions/branch-names@v9
with: with:
strip_tag_prefix: "v" strip_tag_prefix: "v"
+6
View File
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [3.0.0] - 2026-01-16
### Changed
- Replace paru with yay - by @dcelasun
## [2.4.0] - 2025-06-01 ## [2.4.0] - 2025-06-01
### Added ### Added
+3 -3
View File
@@ -10,9 +10,9 @@ RUN useradd -m builder && \
WORKDIR /home/builder WORKDIR /home/builder
USER builder USER builder
# Install paru # Install yay
RUN git clone https://aur.archlinux.org/paru-bin.git RUN git clone https://aur.archlinux.org/yay-bin.git
RUN cd paru-bin && makepkg -si --noconfirm RUN cd yay-bin && makepkg -si --noconfirm
# Copy files # Copy files
COPY LICENSE README.md / COPY LICENSE README.md /
+1 -1
View File
@@ -30,7 +30,7 @@ Following inputs can be used as `step.with` keys
| `srcinfo` | Boolean | `false` | `false` | Generate new .SRCINFO | | `srcinfo` | Boolean | `false` | `false` | Generate new .SRCINFO |
| `namcap` | Boolean | `true` | `false` | Validate PKGBUILD | | `namcap` | Boolean | `true` | `false` | Validate PKGBUILD |
| `flags` | String | `-cfs --noconfirm` | `false` | Flags after `makepkg` command. Leave this empty will disable this command. | | `flags` | String | `-cfs --noconfirm` | `false` | Flags after `makepkg` command. Leave this empty will disable this command. |
| `aur` | Boolean | `false` | `false` | Resolve dependencies using paru | | `aur` | Boolean | `false` | `false` | Resolve dependencies using yay |
| `update_archlinux_keyring` | Boolean | `true` | `false` | Update the archlinux keyring | | `update_archlinux_keyring` | Boolean | `true` | `false` | Update the archlinux keyring |
| `pgpkeys` | String | | `false` | Comma-separated PGP public keys to be loaded before calling makepkg. | | `pgpkeys` | String | | `false` | Comma-separated PGP public keys to be loaded before calling makepkg. |
| `pgpkeyserver` | String | `hkps://keyserver.ubuntu.com` | `false` | PGP key server address. | | `pgpkeyserver` | String | `hkps://keyserver.ubuntu.com` | `false` | PGP key server address. |
+1 -1
View File
@@ -36,7 +36,7 @@ inputs:
default: 'true' default: 'true'
required: false required: false
aur: aur:
description: 'Resolve dependencies using paru' description: 'Resolve dependencies using yay'
default: 'false' default: 'false'
required: false required: false
archlinux_keyring: archlinux_keyring:
+3 -3
View File
@@ -76,11 +76,11 @@ if [[ $INPUT_NAMCAP == true ]]; then
echo "::endgroup::" echo "::endgroup::"
fi fi
# Install depends using paru from aur # Install depends using yay from aur
if [[ $INPUT_AUR == true ]]; then if [[ $INPUT_AUR == true ]]; then
echo "::group::Installing depends using paru" echo "::group::Installing depends using yay"
source PKGBUILD source PKGBUILD
paru -Syu --removemake --needed --noconfirm "${depends[@]}" "${makedepends[@]}" yay -Syu --removemake --needed --noconfirm "${depends[@]}" "${makedepends[@]}"
echo "::endgroup::" echo "::endgroup::"
fi fi