Skip to content

Commit

Permalink
W212-002 Update GitHub Actions
Browse files Browse the repository at this point in the history
to avoid deprecation message.
  • Loading branch information
reznikmm committed Feb 15, 2023
1 parent 2ca0e71 commit 0f12e2e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gnatdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ jobs:
name: Docs
steps:
- name: Get VSS
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ./cached_gnat
key: ${{ runner.os }}-alire_v1
restore-keys: ${{ runner.os }}-alire_v1
- name: Get GNAT toolchain with alire
uses: alire-project/setup-alire@v1
uses: alire-project/setup-alire@v2
with:
toolchain: gnat_native^11 gprbuild^21
toolchain_dir: ./cached_gnat
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ jobs:
name: Build
steps:
- name: Get VSS
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: ./vss
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ./cached_gnat
key: ${{ runner.os }}-alire_v2
restore-keys: ${{ runner.os }}-alire_v2
- name: Get GNAT toolchain with alire
uses: alire-project/setup-alire@v1
uses: alire-project/setup-alire@v2
with:
toolchain: gnat_native^12 gprbuild^22
toolchain_dir: ./cached_gnat
Expand All @@ -39,7 +39,7 @@ jobs:
mkdir vss/data/ucd
unzip UCD-14.0.0.zip -d vss/data/ucd
- name: Get parse-number-fxx-test-data repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: nigeltao/parse-number-fxx-test-data
path: ./vss/data/parse-number-fxx-test-data
Expand All @@ -50,8 +50,8 @@ jobs:
export GPR_PROJECT_PATH=$XMLADA_CRATE_ROOT/input_sources:$GPR_PROJECT_PATH
export GPR_PROJECT_PATH=$XMLADA_CRATE_ROOT/sax:$GPR_PROJECT_PATH
export GPR_PROJECT_PATH=$XMLADA_CRATE_ROOT/unicode:$GPR_PROJECT_PATH
make -C vss all check coverage BUILD_MODE=${{ matrix.build_mode }}
make -C vss install check_install PREFIX=/tmp BUILD_MODE=${{ matrix.build_mode }}
make -C vss build-libs-static check coverage BUILD_MODE=${{ matrix.build_mode }}
make -C vss install-libs-static check_install PREFIX=/tmp BUILD_MODE=${{ matrix.build_mode }}
make -C vss misc BUILD_MODE=${{ matrix.build_mode }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Get VSS
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: ./vss
- name: Install aspell
Expand Down

0 comments on commit 0f12e2e

Please sign in to comment.