1818 test :
1919 runs-on : ubuntu-latest
2020
21+ env :
22+ CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
23+ CI : true
24+
2125 steps :
2226 - name : Checkout the code
23- uses : actions/checkout@v3
27+ uses : actions/checkout@v4
2428
2529 - name : Set up Ruby
2630 uses : ruby/setup-ruby@v1
@@ -33,20 +37,26 @@ jobs:
3337 - name : Run tests
3438 run : bundle exec rake test
3539
40+ - name : Send test coverage to CodeClimate
41+ uses : paambaati/codeclimate-action@v5.0.0
42+ if : ${{ env.CC_TEST_REPORTER_ID }}
43+ with :
44+ coverageCommand : true
45+
3646 build :
3747 runs-on : ubuntu-latest
3848 needs : test
3949 if : ${{ github.triggering_actor != 'dependabot[bot]' }}
4050
4151 steps :
4252 - name : Checkout the code
43- uses : actions/checkout@v3
53+ uses : actions/checkout@v4
4454 with :
4555 fetch-depth : 0
4656
4757 - name : Docker meta
4858 id : meta
49- uses : docker/metadata-action@v4
59+ uses : docker/metadata-action@v5
5060 with :
5161 # list of Docker images to use as base name for tags
5262 images : |
@@ -61,22 +71,22 @@ jobs:
6171 type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
6272
6373 - name : Set up Docker Buildx
64- uses : docker/setup-buildx-action@v2
74+ uses : docker/setup-buildx-action@v3
6575
6676 - name : Set up QEMU
67- uses : docker/setup-qemu-action@v2
77+ uses : docker/setup-qemu-action@v3
6878 with :
6979 platforms : linux/amd64,linux/arm64,linux/arm/v7
7080
7181 - name : Login to GitHub Container Registry
72- uses : docker/login-action@v2
82+ uses : docker/login-action@v3
7383 with :
7484 registry : ghcr.io
7585 username : ${{ github.repository_owner }}
7686 password : ${{ secrets.CR_PAT }}
7787
7888 - name : Build and push
79- uses : docker/build-push-action@v4
89+ uses : docker/build-push-action@v5
8090 with :
8191 context : .
8292 platforms : linux/amd64,linux/arm64,linux/arm/v7
0 commit comments