Skip to content

Commit

Permalink
test circle
Browse files Browse the repository at this point in the history
  • Loading branch information
nbari committed Dec 12, 2023
1 parent 54be6dd commit 6665eb2
Showing 1 changed file with 22 additions and 14 deletions.
36 changes: 22 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
---
version: 2
workflows:
version: 2
test:
jobs:
- test-latest
- test-1.11

jobs:
test-latest: &test-template
build:
docker:
- image: circleci/golang:latest
working_directory: /go/src/github.com/vpn-kill-switch/killswitch
- image: cimg/rust:1.74
steps:
- checkout
- run: curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- run: dep ensure -vendor-only
- run: go test -race -v
test-1.11:
<<: *test-template
docker:
- image: circleci/golang:1.11

- run: cargo --version

- run:
name: Format
run: cargo fmt --all -- --check

- run:
name: Clippy
run: cargo clippy -- -D clippy::all -D clippy::nursery -D warnings

- run:
name: Check
run: cargo check

- run:
name: test
run: cargo test

0 comments on commit 6665eb2

Please sign in to comment.