Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 53e7c7e

Browse files
committed
Update CICD
1 parent 4b15ee5 commit 53e7c7e

File tree

2 files changed

+10
-28
lines changed

2 files changed

+10
-28
lines changed

‎.github/workflows/release.yml‎

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,14 @@ env:
88
CARGO_TERM_COLOR: always
99

1010
jobs:
11-
Publish:
11+
Release:
12+
name: Glicko2 Release
1213
runs-on: ubuntu-latest
1314

1415
steps:
15-
- name: Checkout sources
16-
uses: actions/checkout@v2
17-
18-
- name: Run tests
19-
uses: actions-rs/cargo@v1
20-
with:
21-
command: test
22-
23-
- name: Install toolchain
24-
uses: actions-rs/toolchain@v1
25-
with:
26-
profile: minimal
27-
toolchain: stable
28-
override: true
16+
- uses: actions/checkout@v4
17+
- run: rustup update stable && rustup default stable
18+
- run: cargo test --verbose
2919
- run: |
3020
export VERSION=${{ github.event.release.tag_name }}
3121
sed -i "s/0.0.0/$VERSION/g" Cargo.toml

‎.github/workflows/test.yml‎

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,11 @@ env:
1111

1212
jobs:
1313
Test:
14+
name: Glicko2 Tests
1415
runs-on: ubuntu-latest
1516

1617
steps:
17-
- uses: actions/checkout@v2
18-
- uses: actions-rs/toolchain@v1
19-
with:
20-
toolchain: stable
21-
- name: Lint
22-
uses: actions-rs/clippy-check@v1
23-
with:
24-
token: ${{ secrets.GITHUB_TOKEN }}
25-
continue-on-error: true
26-
- name: Test
27-
uses: actions-rs/cargo@v1
28-
with:
29-
command: test
18+
- uses: actions/checkout@v4
19+
- run: rustup update stable && rustup default stable
20+
- run: cargo clippy
21+
- run: cargo test --verbose

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /