Bump h2 dependency #2097
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci-nym-vpn-core-macos | |
on: | |
# push: | |
pull_request: | |
paths: | |
- "nym-vpn-core/**" | |
- ".github/workflows/ci-nym-vpn-core-macos.yml" | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
AGENT_ISSELFHOSTED: 1 # https://github.com/actions/setup-go/issues/432 | |
jobs: | |
build-wireguard-go-mac: | |
uses: ./.github/workflows/build-wireguard-go-mac.yml | |
build: | |
runs-on: custom-macos-15 | |
needs: build-wireguard-go-mac | |
steps: | |
- name: "Cleanup working directory" | |
shell: bash | |
run: | | |
ls -la ./ | |
rm -rf ./* || true | |
rm -rf ./.??* || true | |
ls -la ./ | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install rust toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ vars.REQUIRED_RUSTC_VERSION }} | |
components: rustfmt, clippy | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ vars.REQUIRED_GOLANG_VERSION }} | |
cache: false | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v3 | |
with: | |
version: "21.12" # 3.21.12: the version on ubuntu 24.04. Don't change this! | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Download artifacts | |
uses: actions/download-artifact@v4 | |
with: | |
name: wireguard-go_apple_universal | |
path: build/lib/universal-apple-darwin | |
- name: rustfmt check | |
working-directory: nym-vpn-core | |
run: | | |
cargo fmt --check --all | |
- name: Clippy | |
working-directory: nym-vpn-core | |
run: | | |
cargo clippy --workspace --locked -- -Dwarnings | |
- name: Build | |
working-directory: nym-vpn-core | |
run: | | |
cargo build --verbose --workspace --locked | |
- name: Run tests | |
working-directory: nym-vpn-core | |
run: | | |
cargo test --verbose --workspace --locked | |