.github/workflows/codemetrics.yml in tabled-1.1.0 vs .github/workflows/codemetrics.yml in tabled-1.2.0
- old
+ new
@@ -1,24 +1,27 @@
name: CodeMetrics report sending
on:
push:
- branches: [ main ]
+ branches: [main]
pull_request:
- branches: [ main ]
+ branches: [main]
permissions:
contents: read
jobs:
-
report_sending:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
+
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: 3.0
+ ruby-version: 3.1
bundler-cache: true
- - run: sh ./sending_report.sh
\ No newline at end of file
+ - name: Codemetrics sending report
+ env:
+ CODEMETRICS_TOKEN: ${{ secrets.CODEMETRICS_TOKEN }}
+ uses: Rukomoynikov/codemetrics-gh-action@main