diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..28cb43e --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +# Source - https://stackoverflow.com/a/78380165 +# Posted by Stefan, modified by community. See post 'Timeline' for change history +# Retrieved 2026-04-14, License - CC BY-SA 4.0 + +# Set update schedule for GitHub Actions + +version: 2 +updates: + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + # Check for updates to GitHub Actions every week + interval: "weekly" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95e8568..10e981e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,10 +17,10 @@ jobs: runs-on: [ubuntu-latest, windows-latest, macos-latest] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} @@ -30,7 +30,7 @@ jobs: python -m pip install pytest pytest-cov - name: Checkout NeuroML2 - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: NeuroML/NeuroML2 ref: development diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index f97c3e4..04cdcd1 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -3,7 +3,7 @@ name: Check LEMS examples on: push: - branches: [ master, development, experimental ] + branches: [ master, development, experimental, test* ] jobs: verify: @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: nelonoel/branch-name@v1.0.1 # https://stackoverflow.com/questions/58033366/how-to-get-current-branch-within-github-actions @@ -21,7 +21,7 @@ jobs: id: extract_branch - name: Checkout jlems - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: LEMS/jLEMS ref: ${{ steps.extract_branch.outputs.branch }}