diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 19d1ebb..00e00cc 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -16,14 +16,6 @@ jobs: rust: [nightly, beta, stable] 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 "::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 }} uses: actions-rs/toolchain@v1 diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 7e9bd98..b6017f1 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 "::set-env name=CURRENT_WEEK::$(date +%V)" - + - uses: actions-rs/toolchain@v1 with: toolchain: stable diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml index 8f722e7..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 "::set-env name=CURRENT_WEEK::$(date +%V)" - + - uses: actions-rs/audit-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }}