From 4bb1358efe10d379dd2cfa908ed6773dee1b2593 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Thu, 24 Dec 2020 20:37:15 +0900 Subject: [PATCH] Fix CI --- .github/workflows/build-and-test.yaml | 8 -------- .github/workflows/lint.yaml | 5 +---- .github/workflows/security.yaml | 5 +---- 3 files changed, 2 insertions(+), 16 deletions(-) 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 }}