Skip to content
Draft
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
28 changes: 15 additions & 13 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: ci

on:
push:
branches: [ master ]
branches: [master]
tags:
- 'v*'
- "v*"
pull_request:
branches: [ master ]
branches: [master]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -24,7 +24,7 @@ jobs:
uses: baptiste0928/cargo-install@v3
with:
crate: cargo-audit
version: "0.21.1"
version: "0.22.0"
- run: |
cargo audit \
--ignore RUSTSEC-2022-0093 \
Expand All @@ -41,27 +41,27 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt, clippy
toolchain: 1.84.1
toolchain: 1.89.0
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y libudev-dev

- name: Set Node.js 22.x
uses: actions/setup-node@v3
with:
node-version: '22.x'
node-version: "22.x"

- name: Generate all code
run: make generate-code

- name: Verify no file changes
uses: tj-actions/verify-changed-files@v20
with:
fail-if-changed: true
fail-message: 'Unexpected changes in generated files. Please run `make generate-code` locally to regenerate the files.'
fail-message: "Unexpected changes in generated files. Please run `make generate-code` locally to regenerate the files."

lint:
name: lint
Expand All @@ -75,7 +75,7 @@ jobs:
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt, clippy
toolchain: 1.84.1
toolchain: 1.89.0
- name: Install cargo-sort from crates.io
uses: baptiste0928/cargo-install@v3
with:
Expand All @@ -97,6 +97,8 @@ jobs:
path: config
filenames: program.env
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.89.0
- name: install solana toolsuite
run: sh -c "$(curl -sSfL https://release.anza.xyz/v2.2.14/install)"
- name: add to path
Expand Down Expand Up @@ -143,7 +145,7 @@ jobs:
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt, clippy
toolchain: 1.84.1
toolchain: 1.89.0
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Install system dependencies
Expand Down
Loading
Loading