Skip to content

Commit

Permalink
Update sbt-scalatools-common to v0.5.7 (#81)
Browse files Browse the repository at this point in the history
* bump sbt-scalatools-common version

* try v0.5.6 - sbt-scalatools-common

* Update to v0.5.7

* add AWS auth

* disable AWS Cache - Upload
  • Loading branch information
pperzyna authored and augustinas committed Sep 29, 2021
1 parent 276cc01 commit 2c4367b
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 21 deletions.
28 changes: 14 additions & 14 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
name-template: "v$RESOLVED_VERSION"
tag-template: "v$RESOLVED_VERSION"

categories:
- title: 'Features'
- title: "Features"
labels:
- 'feature'
- title: 'Bugs'
- "feature"
- title: "Bugs"
labels:
- 'bug'
- 'fix'
- title: 'Maintenance'
labels:
- 'chore'
- "bug"
- "fix"
- title: "Maintenance"
labels:
- "chore"

change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
change-title-escapes: '\<*_&'

version-resolver:
default: patch
major:
labels:
- 'major'
- "major"
minor:
labels:
- 'minor'
- "minor"
patch:
labels:
- 'patch'
- "patch"

template: |
## Changes
Expand Down
17 changes: 13 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches-ignore:
- main

jobs:
build:
name: Build
Expand All @@ -16,6 +16,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Cache - GHA
uses: actions/[email protected]
with:
Expand All @@ -36,6 +37,14 @@ jobs:
- name: Clean and test
run: sbt clean test

- name: Cache - Upload
if: github.actor != 'dependabot[bot]'
run: aws s3 sync ~/.cache/coursier/v1/https/ s3://${{ secrets.ARTIFACTS_CACHE_BUCKET }} --sse AES256 --follow-symlinks --no-progress
# - name: AWS - Configure
# uses: aws-actions/configure-aws-credentials@v1
# if: github.actor != 'dependabot[bot]'
# with:
# aws-access-key-id: ${{ secrets.ARTIFACTS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.ARTIFACTS_SECRET_ACCESS_KEY }}
# aws-region: eu-west-1

# - name: Cache - Upload
# if: github.actor != 'dependabot[bot]'
# run: aws s3 sync ~/.cache/coursier/v1/https/ s3://${{ secrets.ARTIFACTS_CACHE_BUCKET }} --sse AES256 --follow-symlinks --no-progress
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Deploy

on:
on:
push:
branches:
- main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scala-steward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
uses: scala-steward-org/scala-steward-action@v2
with:
github-token: ${{ secrets.BOT_GITHUB_TOKEN }}
author-email: [email protected]
author-email: ${{ secrets.BOT_GITHUB_EMAIL }}
3 changes: 2 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
resolvers += "HAT Library Artifacts Releases" at "https://s3-eu-west-1.amazonaws.com/library-artifacts-releases.hubofallthings.com"
addSbtPlugin("io.dataswift" % "sbt-scalatools-common" % "0.5.0")

addSbtPlugin("io.dataswift" % "sbt-scalatools-common" % "0.5.7")

0 comments on commit 2c4367b

Please sign in to comment.