Fix CI
This commit is contained in:
parent
27bd3f1b87
commit
4bb1358efe
|
@ -16,14 +16,6 @@ jobs:
|
||||||
rust: [nightly, beta, stable]
|
rust: [nightly, beta, stable]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set current week of the year in environnement
|
|
||||||
if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macOS')
|
|
||||||
run: echo "::set-env name=CURRENT_WEEK::$(date +%V)"
|
|
||||||
|
|
||||||
- name: Set current week of the year in environnement
|
|
||||||
if: startsWith(matrix.os, 'windows')
|
|
||||||
run: echo "::set-env name=CURRENT_WEEK::$(Get-Date -UFormat %V)"
|
|
||||||
|
|
||||||
- name: Install latest ${{ matrix.rust }}
|
- name: Install latest ${{ matrix.rust }}
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
|
|
|
@ -11,10 +11,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set current week of the year in environnement
|
|
||||||
run: echo "::set-env name=CURRENT_WEEK::$(date +%V)"
|
|
||||||
|
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
|
|
|
@ -11,10 +11,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set current week of the year in environnement
|
|
||||||
run: echo "::set-env name=CURRENT_WEEK::$(date +%V)"
|
|
||||||
|
|
||||||
- uses: actions-rs/audit-check@v1
|
- uses: actions-rs/audit-check@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue