Skip to content
Merged
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
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,3 +263,20 @@ jobs:

- name: Run dependency security regression tests
run: npm run test:security

workflow-lint:
name: Lint GitHub Actions workflows
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v7.0.1

- name: Download actionlint
run: |
curl -sSL -o actionlint.tar.gz https://github.com/rhysd/actionlint/releases/download/v1.7.12/actionlint_1.7.12_linux_amd64.tar.gz
echo "8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8 actionlint.tar.gz" | sha256sum -c -

- name: Run actionlint
run: |
tar -xzf actionlint.tar.gz
./actionlint
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ jobs:
if [ "${{ matrix.compiler }}" = "clang" ]; then
sudo apt-get update
sudo apt-get install -y clang
echo "CC=clang" >> $GITHUB_ENV
echo "CXX=clang++" >> $GITHUB_ENV
echo "CC=clang" >> "$GITHUB_ENV"
echo "CXX=clang++" >> "$GITHUB_ENV"
else
echo "CC=gcc" >> $GITHUB_ENV
echo "CXX=g++" >> $GITHUB_ENV
echo "CC=gcc" >> "$GITHUB_ENV"
echo "CXX=g++" >> "$GITHUB_ENV"
fi

- name: Configure CMake
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
find artifacts/linux-packages-* -type f \( -name "*.deb" -o -name "*.rpm" -o -name "*.tar.gz" \) -exec cp {} release/ \;
# Copy WASM module
cd artifacts/wasm-module
zip -r ../../release/ipv6-parse-wasm.zip *
zip -r ../../release/ipv6-parse-wasm.zip ./*
cd ../..

- name: Extract version from tag
Expand All @@ -151,8 +151,8 @@ jobs:
TAG="${{ github.ref_name }}"
fi
VERSION=${TAG#v}
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "tag=$TAG" >> $GITHUB_OUTPUT
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
echo "tag=$TAG" >> "$GITHUB_OUTPUT"

- name: Generate release notes
run: |
Expand Down Expand Up @@ -198,7 +198,7 @@ jobs:
EOF

- name: Create Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v3.0.3
with:
tag_name: ${{ steps.version.outputs.tag }}
name: Release ${{ steps.version.outputs.version }}
Expand Down Expand Up @@ -286,7 +286,7 @@ jobs:
run: |
TAG="${{ github.ref_name }}"
VERSION=${TAG#v}
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "version=$VERSION" >> "$GITHUB_OUTPUT"

- name: Create Conan package
run: |
Expand Down
Loading