1image: archlinux:latest
2
3stages:
4  - lint
5
6variables:
7  PACMAN_CACHE: "${CI_PROJECT_DIR}/.pacman/pkg"
8
9cache:
10  paths:
11    - .pacman/pkg
12  key: ${CI_JOB_NAME}
13
14check-new-key:
15  stage: lint
16  needs: []
17  script:
18    - install -d "${PACMAN_CACHE}"
19    - pacman -Syu --needed --noconfirm --cachedir "${PACMAN_CACHE}" git grep hopenpgp-tools sequoia-keyring-linter
20    - ./.gitlab/check-keyids-change
21  only:
22    refs:
23      - merge_requests
24    changes:
25      - master-keyids
26      - packager-keyids
27