← Back to team overview

launchpad-reviewers team mailing list archive

Re: [Merge] ~jugmac00/launchpad:run-pre-commit-in-ci into launchpad:master

 


Diff comments:

> diff --git a/.launchpad.yaml b/.launchpad.yaml
> new file mode 100644
> index 0000000..4a5d057
> --- /dev/null
> +++ b/.launchpad.yaml
> @@ -0,0 +1,25 @@
> +pipeline:
> +  - docs
> +  - lint
> +
> +jobs:
> +  docs:
> +    architectures: amd64
> +    packages:
> +      - tox
> +    run: "tox -e docs"
> +    series: focal
> +  lint:
> +    architectures: amd64
> +    packages:
> +      - tox
> +      - git
> +      - curl
> +    run: |
> +      curl -LO https://go.dev/dl/go1.18.4.linux-amd64.tar.gz

It is not exactly random :-) It is the official golang download site. But right, using a Snap will be more comfortable - once it works.

> +      tar -C /usr/local/ -xzf go1.18.4.linux-amd64.tar.gz
> +      export GOROOT=/usr/local/go
> +      export GOPATH=$HOME/go
> +      export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
> +      tox -e lint
> +    series: focal


-- 
https://code.launchpad.net/~jugmac00/launchpad/+git/launchpad/+merge/427516
Your team Launchpad code reviewers is requested to review the proposed merge of ~jugmac00/launchpad:run-pre-commit-in-ci into launchpad:master.



References