Skip to content

Commit

Permalink
Merge pull request #1136 from bjaglin/ci-cleanup
Browse files Browse the repository at this point in the history
CI cleanup
  • Loading branch information
github-brice-jaglin authored Nov 4, 2020
2 parents c13f8de + eaf42c8 commit b1d8950
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 682 deletions.
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

0 comments on commit b1d8950

Please sign in to comment.