fix obsolete runs-on in workflow

This commit is contained in:
Scott Lamb 2025-05-08 10:54:36 -07:00
parent 7968700aae
commit 104ffdc2dc

View File

@ -15,7 +15,7 @@ jobs:
name: Rust ${{ matrix.rust }} name: Rust ${{ matrix.rust }}
strategy: strategy:
matrix: matrix:
rust: [ "stable", "1.82", "nightly" ] rust: ["stable", "1.82", "nightly"]
include: include:
- rust: nightly - rust: nightly
extra_args: "--features nightly --benches" extra_args: "--features nightly --benches"
@ -29,7 +29,7 @@ jobs:
# `git describe` output gets baked into the binary for `moonfire-nvr --version`. # `git describe` output gets baked into the binary for `moonfire-nvr --version`.
# Fetch all revs so it can see tag history. # Fetch all revs so it can see tag history.
fetch-depth: 0 fetch-depth: 0
filter: 'tree:0' filter: "tree:0"
- name: Cache - name: Cache
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
@ -63,7 +63,7 @@ jobs:
name: Node ${{ matrix.node }} name: Node ${{ matrix.node }}
strategy: strategy:
matrix: matrix:
node: [ "18", "20", "21" ] node: ["18", "20", "21"]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -79,7 +79,7 @@ jobs:
- run: cd ui && pnpm run check-format - run: cd ui && pnpm run check-format
license: license:
name: Check copyright/license headers name: Check copyright/license headers
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4