Skip to content

Commit

Permalink
Merge pull request #17 from taiki-e/ci
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
taiki-e authored Dec 24, 2020
2 parents e6b52df + c213ae1 commit a652d3b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit a652d3b

Please sign in to comment.