Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: pinact run #23

Merged
merged 1 commit into from
Jun 3, 2024
Merged
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
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: checkout
uses: actions/checkout@v4
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: checkout vim-themis
uses: actions/checkout@v4
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
repository: thinca/vim-themis
path: vim-themis
- name: setup vim
id: vim
uses: rhysd/action-setup-vim@v1
uses: rhysd/action-setup-vim@2ab97f992520b094d4243cde0d3173493c811799 # v1.3.4
with:
neovim: ${{ matrix.neovim }}
version: ${{ matrix.version }}
Expand All @@ -37,7 +37,7 @@ jobs:
run: |
${GITHUB_WORKSPACE}/vim-themis/bin/themis --reporter dot
- name: setup python
uses: actions/setup-python@v5.1.0
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: '3.10'
- name: collect coverage
Expand All @@ -47,15 +47,15 @@ jobs:
pip install covimerage
covimerage write_coverage "${THEMIS_PROFILE}"
covimerage xml
- uses: k1LoW/octocov-action@v1
- uses: k1LoW/octocov-action@5213913fe329368ab9dafa16f18f4f3cce1062f0 # v1.3.0
- name: create filename
id: filename
run: echo "filename=badge-${{ runner.os }}-$(test \"${{ matrix.neovim }}\" = \"true\" && echo neovim || echo vim )-${{ matrix.version }}.svg" >> "$GITHUB_OUTPUT"
- name: make covarage badge
run: |
octocov badge coverage --out ${{ github.workspace }}/${{ steps.filename.outputs.filename }}
- name: upload badge to artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
path: ${{ steps.filename.outputs.filename }}
name: ${{ steps.filename.outputs.filename }}
Expand All @@ -67,15 +67,15 @@ jobs:
needs: themis
steps:
- name: download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
pattern: "*.svg"
- name: move them into docs
run: |
mkdir docs
mv *.svg docs/
- name: upload badge to artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@a753861a5debcf57bf8b404356158c8e1e33150c # v2.0.0
with:
path: docs

Expand All @@ -92,4 +92,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
uses: actions/deploy-pages@13b55b33dd8996121833dbc1db458c793a334630 # v3.0.1