Skip to content

Commit

Permalink
update CI to use non-deprecated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tanriol committed Dec 13, 2023
1 parent 59a30c8 commit eba6b4d
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,13 @@ jobs:
name: ${{ matrix.name }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Install toolchain
uses: actions-rs/toolchain@v1.0.3
- uses: moonrepo/setup-rust@v1
with:
toolchain: ${{ matrix.toolchain }}
profile: minimal
default: true
channel: ${{ matrix.toolchain }}
- if: ${{ matrix.native_deps || 'libftdi1-dev' }}
name: Install native packages (${{ matrix.native_deps || 'libftdi1-dev' }})
run: sudo apt-get install ${{ matrix.native_deps || 'libftdi1-dev' }}
Expand All @@ -63,16 +60,12 @@ jobs:
env:
VCPKGRS_DYNAMIC: 1
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install toolchain
uses: actions-rs/toolchain@v1.0.3
- uses: moonrepo/setup-rust@v1
with:
toolchain: 1.34.0
target: x86_64-pc-windows-msvc
profile: minimal
default: true
channel: 1.34.0
- name: Restore / setup vcpkg and libftdi1
uses: lukka/run-vcpkg@v7
with:
Expand Down

0 comments on commit eba6b4d

Please sign in to comment.