diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 90ec5c2..5a40731 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -16,14 +16,6 @@ jobs: rust: [nightly, beta, stable, 1.39.0] steps: - uses: actions/checkout@v2 - - - name: Set current week of the year in environnement - if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macOS') - run: echo "CURRENT_WEEK=$(date +%V)" >> $GITHUB_ENV - - - name: Set current week of the year in environnement - if: startsWith(matrix.os, 'windows') - run: echo "CURRENT_WEEK=$(Get-Date -UFormat %V)" >> $GITHUB_ENV - name: Install latest ${{ matrix.rust }} uses: actions-rs/toolchain@v1 diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 8cc0865..e134a54 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -11,10 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - - name: Set current week of the year in environnement - run: echo "CURRENT_WEEK=$(date +%V)" >> $GITHUB_ENV - + - uses: actions-rs/toolchain@v1 with: toolchain: stable diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml index 672e506..c4f7947 100644 --- a/.github/workflows/security.yaml +++ b/.github/workflows/security.yaml @@ -11,10 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - - name: Set current week of the year in environnement - run: echo "CURRENT_WEEK=$(date +%V)" >> $GITHUB_ENV - + - uses: actions-rs/audit-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }}