Skip to content

Commit

Permalink
Using vars context
Browse files Browse the repository at this point in the history
  • Loading branch information
ytanimura committed Sep 18, 2024
1 parent 1a045b6 commit 839bcd4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
test:
runs-on: ${{ env.UBUNTU_VERSION }}
runs-on: ${{ vars.UBUNTU_VERSION }}
steps:
- uses: actions/checkout@v1
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/esprc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
parse:
runs-on: ${{ env.UBUNTU_VERSION }}
runs-on: ${{ vars.UBUNTU_VERSION }}
strategy:
matrix:
ap:
Expand All @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.MSRV }}
toolchain: ${{ vars.MSRV }}
profile: minimal
default: true
override: true
Expand All @@ -28,7 +28,7 @@ jobs:
args: --release --bin esprc -- ./schemas/APs/10303-${{ matrix.ap }}-aim-long.exp --check

generate:
runs-on: ${{ env.UBUNTU_VERSION }}
runs-on: ${{ vars.UBUNTU_VERSION }}
strategy:
matrix:
ap:
Expand All @@ -38,7 +38,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.MSRV }}
toolchain: ${{ vars.MSRV }}
profile: minimal
components: rustfmt
default: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ on:

jobs:
pages:
runs-on: ${{ env.UBUNTU_VERSION }}
runs-on: ${{ vars.UBUNTU_VERSION }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.MSRV }}
toolchain: ${{ vars.MSRV }}
profile: minimal
default: true
override: true
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ on:

jobs:
test:
runs-on: ${{ env.UBUNTU_VERSION }}
runs-on: ${{ vars.UBUNTU_VERSION }}
strategy:
matrix:
rust:
- stable
- ${{ env.MSRV }}
- ${{ vars.MSRV }}
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
Expand All @@ -30,12 +30,12 @@ jobs:
args: --all-features

check-format:
runs-on: ${{ env.UBUNTU_VERSION }}
runs-on: ${{ vars.UBUNTU_VERSION }}
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.MSRV }}
toolchain: ${{ vars.MSRV }}
profile: minimal
components: rustfmt
default: true
Expand All @@ -46,12 +46,12 @@ jobs:
args: -- --check

doc:
runs-on: ${{ env.UBUNTU_VERSION }}
runs-on: ${{ vars.UBUNTU_VERSION }}
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.MSRV }}
toolchain: ${{ vars.MSRV }}
profile: minimal
default: true
override: true
Expand All @@ -61,12 +61,12 @@ jobs:
args: --no-deps

clippy:
runs-on: ${{ env.UBUNTU_VERSION }}
runs-on: ${{ vars.UBUNTU_VERSION }}
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.MSRV }}
toolchain: ${{ vars.MSRV }}
profile: minimal
components: clippy
default: true
Expand Down

0 comments on commit 839bcd4

Please sign in to comment.