Skip to content

Commit

Permalink
ci: Use go v1.21 for test-tube to work
Browse files Browse the repository at this point in the history
  • Loading branch information
apollo-sturdy committed Feb 8, 2024
1 parent e7bfb0c commit 4e91a31
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v3

- name: Set up Go 1.21.6
uses: actions/setup-go@v5
with:
go-version: "1.21.6"

- name: Install cargo make
uses: davidB/rust-cargo-make@v1

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v3

- name: Set up Go 1.21.6
uses: actions/setup-go@v5
with:
go-version: "1.21.6"

- name: Install cargo make
uses: davidB/rust-cargo-make@v1

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/lint-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v3

- name: Set up Go 1.21.6
uses: actions/setup-go@v5
with:
go-version: "1.21.6"

- name: Install cargo make
uses: davidB/rust-cargo-make@v1

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v3

- name: Set up Go 1.21.6
uses: actions/setup-go@v5
with:
go-version: "1.21.6"

- name: Install cargo make
uses: davidB/rust-cargo-make@v1

Expand Down
2 changes: 1 addition & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ args = ["deny", "check"]
[tasks.check]
toolchain = "${RUST_VERSION}"
command = "cargo"
args = ["check"]
args = ["check", "--all-features"]

[tasks.clippy-check]
toolchain = "${NIGHTLY_VERSION}"
Expand Down
2 changes: 1 addition & 1 deletion coverage_grcov.Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ run_task = "test"

[tasks.coverage-grcov-run-test.env]
CARGO_BUILD_TARGET_DIR = "${COVERAGE_TARGET_DIRECTORY}"
RUSTFLAGS = "-Cinstrument-coverage"
RUSTFLAGS = "-Cinstrument-coverage --all-features"
LLVM_PROFILE_FILE = "${COVERAGE_PROF_OUTPUT}/coverage-%p-%m.profraw"

[tasks.install-grcov]
Expand Down

0 comments on commit 4e91a31

Please sign in to comment.