Update rust.yml

This commit is contained in:
djkato 2022-09-08 21:09:18 +02:00 committed by GitHub
parent e971b462c4
commit a526e9de5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@
pull_request: null pull_request: null
jobs: jobs:
check: check:
runs-on: ubuntu-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/cache@v1 - uses: actions/cache@v1
@ -33,8 +33,6 @@ jobs:
strategy: strategy:
matrix: matrix:
include: include:
- os: macos-latest
- os: ubuntu-latest
- os: windows-latest - os: windows-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -63,7 +61,7 @@ jobs:
command: run command: run
args: '-- -h' args: '-- -h'
lints: lints:
runs-on: ubuntu-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/cache@v1 - uses: actions/cache@v1
@ -93,7 +91,7 @@ jobs:
command: clippy command: clippy
args: '-- -D warnings' args: '-- -D warnings'
version: version:
runs-on: ubuntu-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
with: with:
@ -136,7 +134,7 @@ jobs:
- os: macos-latest - os: macos-latest
target: x86_64-apple-darwin target: x86_64-apple-darwin
suffix: '' suffix: ''
- os: ubuntu-latest - os: windows-latest
target: x86_64-unknown-linux-gnu target: x86_64-unknown-linux-gnu
suffix: '' suffix: ''
- os: windows-latest - os: windows-latest
@ -198,7 +196,7 @@ jobs:
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'
needs: needs:
- build - build
runs-on: ubuntu-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
with: with: