mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
CI: upgrade CI actions to latest releases
Changelog-None
This commit is contained in:
parent
2614dfc104
commit
6ad8cfdffa
6 changed files with 29 additions and 29 deletions
6
.github/workflows/bsd.yml
vendored
6
.github/workflows/bsd.yml
vendored
|
@ -8,14 +8,14 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
testfreebsd:
|
testfreebsd:
|
||||||
runs-on: macos-10.15
|
runs-on: ubuntu-latest
|
||||||
name: Build and test on FreeBSD
|
name: Build and test on FreeBSD
|
||||||
timeout-minutes: 120
|
timeout-minutes: 120
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Test in FreeBSD
|
- name: Test in FreeBSD
|
||||||
id: test
|
id: test
|
||||||
uses: vmactions/freebsd-vm@v0.1.5
|
uses: vmactions/freebsd-vm@v1
|
||||||
with:
|
with:
|
||||||
usesh: true
|
usesh: true
|
||||||
prepare: |
|
prepare: |
|
||||||
|
|
38
.github/workflows/ci.yaml
vendored
38
.github/workflows/ci.yaml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
@ -43,7 +43,7 @@ jobs:
|
||||||
git rebase origin/${{ github.base_ref }}
|
git rebase origin/${{ github.base_ref }}
|
||||||
|
|
||||||
- name: Set up Python 3.8
|
- name: Set up Python 3.8
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
|
|
||||||
|
@ -93,10 +93,10 @@ jobs:
|
||||||
VALGRIND: 0
|
VALGRIND: 0
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python 3.8
|
- name: Set up Python 3.8
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
|
|
||||||
|
@ -125,7 +125,7 @@ jobs:
|
||||||
mv testpack.tar.bz2 cln-${CFG}.tar.bz2
|
mv testpack.tar.bz2 cln-${CFG}.tar.bz2
|
||||||
- name: Check rust packages
|
- name: Check rust packages
|
||||||
run: cargo test --all
|
run: cargo test --all
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: cln-${{ matrix.CFG }}.tar.bz2
|
name: cln-${{ matrix.CFG }}.tar.bz2
|
||||||
path: cln-${{ matrix.CFG }}.tar.bz2
|
path: cln-${{ matrix.CFG }}.tar.bz2
|
||||||
|
@ -150,10 +150,10 @@ jobs:
|
||||||
VALGRIND: 0
|
VALGRIND: 0
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python 3.8
|
- name: Set up Python 3.8
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
|
|
||||||
|
@ -170,7 +170,7 @@ jobs:
|
||||||
git clone https://github.com/lightning/bolts.git ../${BOLTDIR}
|
git clone https://github.com/lightning/bolts.git ../${BOLTDIR}
|
||||||
|
|
||||||
- name: Download build
|
- name: Download build
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: cln-${{ matrix.CFG }}.tar.bz2
|
name: cln-${{ matrix.CFG }}.tar.bz2
|
||||||
|
|
||||||
|
@ -186,10 +186,10 @@ jobs:
|
||||||
- prebuild
|
- prebuild
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python 3.8
|
- name: Set up Python 3.8
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
|
|
||||||
|
@ -261,10 +261,10 @@ jobs:
|
||||||
EXPERIMENTAL_SPLICING: 1
|
EXPERIMENTAL_SPLICING: 1
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python 3.8
|
- name: Set up Python 3.8
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
|
|
||||||
|
@ -279,7 +279,7 @@ jobs:
|
||||||
run: .github/scripts/install-bitcoind.sh
|
run: .github/scripts/install-bitcoind.sh
|
||||||
|
|
||||||
- name: Download build
|
- name: Download build
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: cln-${{ matrix.CFG }}.tar.bz2
|
name: cln-${{ matrix.CFG }}.tar.bz2
|
||||||
|
|
||||||
|
@ -352,10 +352,10 @@ jobs:
|
||||||
PYTEST_OPTS: --test-group=10 --test-group-count=10
|
PYTEST_OPTS: --test-group=10 --test-group-count=10
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python 3.8
|
- name: Set up Python 3.8
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
|
|
||||||
|
@ -370,7 +370,7 @@ jobs:
|
||||||
run: .github/scripts/install-bitcoind.sh
|
run: .github/scripts/install-bitcoind.sh
|
||||||
|
|
||||||
- name: Download build
|
- name: Download build
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: cln-compile-gcc.tar.bz2
|
name: cln-compile-gcc.tar.bz2
|
||||||
|
|
||||||
|
@ -423,10 +423,10 @@ jobs:
|
||||||
PYTEST_OPTS: --test-group=10 --test-group-count=10
|
PYTEST_OPTS: --test-group=10 --test-group-count=10
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python 3.8
|
- name: Set up Python 3.8
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
|
|
||||||
|
@ -441,7 +441,7 @@ jobs:
|
||||||
run: .github/scripts/install-bitcoind.sh
|
run: .github/scripts/install-bitcoind.sh
|
||||||
|
|
||||||
- name: Download build
|
- name: Download build
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: cln-compile-clang-sanitizers.tar.bz2
|
name: cln-compile-clang-sanitizers.tar.bz2
|
||||||
|
|
||||||
|
|
2
.github/workflows/macos.yaml
vendored
2
.github/workflows/macos.yaml
vendored
|
@ -11,7 +11,7 @@ jobs:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2.0.0
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
4
.github/workflows/pypi.yml
vendored
4
.github/workflows/pypi.yml
vendored
|
@ -2,8 +2,8 @@
|
||||||
name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI
|
name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI
|
||||||
on:
|
on:
|
||||||
# Only deploy if we're the result of a PR being merged
|
# Only deploy if we're the result of a PR being merged
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
workflow_dispatch:
|
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
tags:
|
tags:
|
||||||
|
@ -38,7 +38,7 @@ jobs:
|
||||||
#- PACKAGE: pyn-bolt7
|
#- PACKAGE: pyn-bolt7
|
||||||
# WORKDIR: contrib/pyln-spec/bolt7/
|
# WORKDIR: contrib/pyln-spec/bolt7/
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
# Need to fetch entire history in order to locate the version tag
|
# Need to fetch entire history in order to locate the version tag
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
2
.github/workflows/rdme-docs-sync.yml
vendored
2
.github/workflows/rdme-docs-sync.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo 📚
|
- name: Check out repo 📚
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Sync doc/getting-started/ 🚀
|
- name: Sync doc/getting-started/ 🚀
|
||||||
uses: readmeio/rdme@v8
|
uses: readmeio/rdme@v8
|
||||||
|
|
6
.github/workflows/readme-rpc-sync.yml
vendored
6
.github/workflows/readme-rpc-sync.yml
vendored
|
@ -18,10 +18,10 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python 3.8
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue