Skip to content

Commit

Permalink
Merge branch 'master' into 0.2.0-release
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier authored Sep 25, 2024
2 parents 43bd27a + dfa474d commit 793c36d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions" # Check for GitHub Actions updates
directory: "/" # The root directory where the Ansible role is located
schedule:
interval: "monthly" # Check for updates monthly
commit-message:
prefix: "[ci] "
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
tests:
name: QA-Checks and Tests
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.x"

- name: Install dependencies
id: deps
Expand All @@ -34,7 +34,7 @@ jobs:
CI: 1

- name: Run sh-checker
uses: luizm/action-sh-checker@master
uses: luizm/action-sh-checker@v0.9.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -54,7 +54,7 @@ jobs:

build:
name: Build and upload package as artifacts
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
BUILD_DIR: '/home/runner/work/build'
DOWNLOADS_DIR: '/home/runner/work/downloads'
Expand All @@ -67,7 +67,7 @@ jobs:

- name: Cache OpenWrt dependencies
id: cache
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-openwrt-dependencies
with:
Expand All @@ -89,7 +89,7 @@ jobs:

- name: Upload packages as artifacts
if: ${{ github.event_name=='push' }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Packages
path: "${{ env.DOWNLOADS_DIR }}/${{ env.START_TIME }}"
Expand Down
2 changes: 1 addition & 1 deletion install-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ git clone https://git.openwrt.org/project/libubox.git --depth=1
git clone https://git.openwrt.org/project/uci.git --depth=1
{ cd uci && cmake . && make install && cd ..; } || { echo 'Installing uci failed!' && exit 1; }
# install nixio
luarocks install https://raw.githubusercontent.com/openwisp/nixio/master/nixio-scm-0.rockspec
luarocks install https://raw.githubusercontent.com/Neopallium/nixio/refs/heads/master/rockspecs/nixio-scm-0.rockspec
# install luaformatter
git clone --recurse-submodules https://github.com/Koihik/LuaFormatter.git
{ cd LuaFormatter && cmake . && make install && cd ..; } || { echo 'Installing LuaFormatter failed' && exit 1; }
Expand Down

0 comments on commit 793c36d

Please sign in to comment.