Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI cleanup #1136

Merged
merged 2 commits into from
Nov 4, 2020
Merged
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
32 changes: 0 additions & 32 deletions .drone.yml

This file was deleted.

1 change: 0 additions & 1 deletion .drone.yml.sig

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v7
- run: sbt "scalafix --check"
- run: ./scalafmt --test
- run: ./bin/scalafmt --test
mima:
name: MiMa
runs-on: ubuntu-latest
Expand Down
17 changes: 3 additions & 14 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ scalafix-tests
We use scalafix to apply some rules that are configured in .scalafix.conf.
Make sure to run `sbt scalafixAll` to apply those rules.

Be sure to run `scalafmt` (available in the root folder) to ensure code
formatting. `./scalafmt --diff` formats only the files that have changed from
the master branch. You can read more about it at http://scalafmt.org
Be sure to run `scalafmt` (available in the `bin` folder) to ensure code
formatting. `./bin/scalafmt --diff` formats only the files that have changed
from the master branch. You can read more about it at http://scalafmt.org

## Documentation

Expand Down Expand Up @@ -95,17 +95,6 @@ Scalafix uses [sbt-ci-release](https://github.com/olafurpg/sbt-ci-release) to
automate Sonatype releases. A new SNAPSHOT release is published on every merge
into master. A stable release is published to Maven Central on every git tag.

### AppVeyor

The cache is limited to 1GB. It's not possible to delete the cache via the ui:
https://github.com/appveyor/ci/issues/985 To delete via curl, get your token at
https://ci.appveyor.com/api-token

```bash
export APPVEYOR_TOKEN="<your-api-token>"
curl -vvv -H "Authorization: Bearer $APPVEYOR_TOKEN" -XDELETE https://ci.appveyor.com/api/projects/scalacenter/scalafix/buildcache
```

## Releasing

First, kickstart a CI release to Sonatype by pushing a git tag that correspond to the desired commit
Expand Down
Loading