.github/workflows/main.yml in alba-3.0.3 vs .github/workflows/main.yml in alba-3.1.0
- old
+ new
@@ -1,8 +1,12 @@
name: CI
-on: [push,pull_request]
+on:
+ push:
+ branches:
+ - main
+ pull_request:
jobs:
build:
strategy:
fail-fast: false
@@ -27,8 +31,9 @@
bundler-cache: true
- name: Run the default task
run: |
bundle exec rake
- name: CodeCov
- uses: codecov/codecov-action@v3
+ uses: codecov/codecov-action@v4
with:
files: ./coverage/coverage.xml
+ token: ${{ secrets.CODECOV_TOKEN }}