Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
MSRV=1.75.0
UBUNTU_VERSION=ubuntu-22.04
4 changes: 2 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:

jobs:
test:
runs-on: ${{ vars.UBUNTU_VERSION }}
runs-on: ${{ env.UBUNTU_VERSION }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: bash -c "! git diff --exit-code origin/master... CHANGELOG.md"
12 changes: 6 additions & 6 deletions .github/workflows/esprc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ on:

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

generate:
runs-on: ${{ vars.UBUNTU_VERSION }}
runs-on: ${{ env.UBUNTU_VERSION }}
strategy:
matrix:
ap:
- "201"
- "203"
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ vars.MSRV }}
toolchain: ${{ env.MSRV }}
profile: minimal
components: rustfmt
default: true
Expand Down
6 changes: 3 additions & 3 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: ${{ vars.UBUNTU_VERSION }}
runs-on: ${{ env.UBUNTU_VERSION }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ vars.MSRV }}
toolchain: ${{ env.MSRV }}
profile: minimal
default: true
override: true
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ on:

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

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

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

clippy:
runs-on: ${{ vars.UBUNTU_VERSION }}
runs-on: ${{ env.UBUNTU_VERSION }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ vars.MSRV }}
toolchain: ${{ env.MSRV }}
profile: minimal
components: clippy
default: true
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ In addition to original Keep-a-Changelog, we use following rules:
- This will be checked by GitHub Actions
- Each Pull Request MAY correspond to one or more lines in this file

## Unreleased

### Internal
- Using `.env` variables for Actions.

## 0.4.0 - 2024-09-20

### Added
Expand Down