aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2022-09-17 16:58:25 +0200
committerKenton Groombridge <concord@gentoo.org>2022-11-02 10:06:44 -0400
commit2f9da18ec8f339728ceef41e4a5d64d0a2517efa (patch)
treecebed0eb983111cea8de6679204f0876f449d8bc /.github
parentfirewalld: allow watch on firewalld files (diff)
downloadhardened-refpolicy-2f9da18ec8f339728ceef41e4a5d64d0a2517efa.tar.gz
hardened-refpolicy-2f9da18ec8f339728ceef41e4a5d64d0a2517efa.tar.bz2
hardened-refpolicy-2f9da18ec8f339728ceef41e4a5d64d0a2517efa.zip
ci: update dependencies
Update checkout action to v3 Update python-setup action to v4 Update SELinux userspace to 3.3 Also print basic output from apt-get to debug potential flaky failures. Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Signed-off-by: Kenton Groombridge <concord@gentoo.org>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tests.yml20
1 files changed, 11 insertions, 9 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 3046d344..ae706938 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -3,29 +3,31 @@ name: Build tests
on: [push, pull_request]
env:
- SELINUX_USERSPACE_VERSION: checkpolicy-3.1
+ # 3.4 fails to validate, fixed with 88a703399f3f
+ # ("libsepol: fix validation of user declarations in modules")
+ SELINUX_USERSPACE_VERSION: checkpolicy-3.3
jobs:
lint:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
# This version should be the minimum required to run the fc checker
- name: Set up Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Install dependencies
run: |
- sudo apt-get update -qq
+ sudo apt-get update -q
# Install SELint from Debian testing
wget -O - https://ftp-master.debian.org/keys/archive-key-10.asc 2>/dev/null | sudo apt-key add -
sudo add-apt-repository 'deb http://deb.debian.org/debian/ testing main' -y
- sudo apt-get install -qqy selint
+ sudo apt-get install -qy selint
selint -V
- name: Create generated policy files
@@ -70,18 +72,18 @@ jobs:
- {type: mls, distro: gentoo, monolithic: y, systemd: n, apps-off: unconfined}
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
# This should be the minimum required Python version to build refpolicy.
- name: Set up Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
with:
python-version: 3.5
- name: Install dependencies
run: |
- sudo apt-get update -qq
- sudo apt-get install -qqy \
+ sudo apt-get update -q
+ sudo apt-get install -qy \
bison \
flex \
gettext \