diff options
author | Alexey Gladkov <gladkov.alexey@gmail.com> | 2023-01-02 16:46:24 +0100 |
---|---|---|
committer | Alexey Gladkov <gladkov.alexey@gmail.com> | 2023-04-18 14:46:44 +0200 |
commit | 3d0d3dee354a623fb4b1c39e03e5f44f4e2edc00 (patch) | |
tree | 30511a770f99f6191ff58281b09fa496b0f012cb | |
parent | 45a5701650471be07dee3dab9d9d10ad9f0a5fef (diff) | |
download | kbd-3d0d3dee354a623fb4b1c39e03e5f44f4e2edc00.tar.gz |
CI: Update github rules
- Fix DCO check.
- Switch to ubuntu-latest.
- Switch to actions/checkout@v3.
Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
-rw-r--r-- | .github/workflows/ci.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c60bc6ad..6e488a6a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,12 +20,12 @@ jobs: with: fetch-depth: 0 - name: "env" - run: env + run: env | sort - name: "Developer's Certificate of Origin" run: | echo echo 'Commits to check:' - git log --pretty='%H%x09%s%x09%ce%x09-%(trailers:key=Signed-off-by,valueonly,separator=%x00)' origin/$GITHUB_REF_NAME..HEAD | + git log --no-merges --pretty='%H%x09%s%x09%ce%x09-%(trailers:key=Signed-off-by,valueonly,separator=%x00)' origin/master.. | tee /tmp/commits | cut -f1,2 echo '' @@ -42,11 +42,11 @@ jobs: distcheck_job: name: "Distcheck" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: [ check_commits_job ] steps: - name: "Check out repository" - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: "Install dependencies" @@ -69,19 +69,19 @@ jobs: strategy: matrix: include: - - os: ubuntu-20.04 + - os: ubuntu-latest cc: gcc compiler: gcc libc: glibc configure: --enable-libkeymap --enable-libkfont check: unittest e2e - - os: ubuntu-20.04 + - os: ubuntu-latest cc: clang compiler: clang libc: glibc configure: --enable-libkeymap --enable-libkfont check: unittest e2e - - os: ubuntu-20.04 + - os: ubuntu-latest cc: musl-gcc -static -idirafter /usr/include/ -idirafter /usr/include/x86_64-linux-gnu/ compiler: gcc libc: musl @@ -96,7 +96,7 @@ jobs: TTY: /dev/tty60 steps: - name: "Check out repository" - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: "Install dependencies" |