Skip to content

Commit

Permalink
Update CI actions
Browse files Browse the repository at this point in the history
- Update the runner-os
- Update the used actions, since the node version is deprecated.
  • Loading branch information
jschwe committed May 9, 2024
1 parent ef9cc1d commit d786ccc
Showing 1 changed file with 8 additions and 20 deletions.
28 changes: 8 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,11 @@ jobs:
name: Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
override: true
uses: dtolnay/rust-toolchain@stable
- name: Install
run: |
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections;
Expand All @@ -42,35 +38,27 @@ jobs:

ci-macos:
name: macOS
runs-on: macos-12
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
override: true
uses: dtolnay/rust-toolchain@stable
- name: Build
run: cargo build
- name: Tests
run: cargo test

ci-win:
name: Windows
runs-on: windows-2019
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
override: true
uses: dtolnay/rust-toolchain@stable
- name: Build
run: cargo build
- name: Tests
Expand Down

0 comments on commit d786ccc

Please sign in to comment.