diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 1e6ef3b..3a5d1a5 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - name: Docker Meta id: meta @@ -38,7 +38,7 @@ jobs: - name: gcloud authenticate if: ${{ github.event_name != 'pull_request' }} - uses: google-github-actions/auth@55bd3a7c6e2ae7cf1877fd1ccb9d54c0503c457c + uses: google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa with: project_id: ${{ secrets.GCP_PRODUCTION_PROJECT_ID }} credentials_json: ${{ secrets.GCP_SERVICE_ACCOUNT }} @@ -53,7 +53,7 @@ jobs: - name: Login to DockerHub if: ${{ github.event_name != 'pull_request' }} - uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 with: username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -75,10 +75,10 @@ jobs: needs: publish steps: - name: checkout - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - name: gcloud authenticate - uses: google-github-actions/auth@55bd3a7c6e2ae7cf1877fd1ccb9d54c0503c457c + uses: google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa with: project_id: ${{ secrets.GCP_PRODUCTION_PROJECT_ID }} credentials_json: ${{ secrets.GCP_SERVICE_ACCOUNT }} @@ -87,7 +87,7 @@ jobs: uses: google-github-actions/setup-gcloud@98ddc00a17442e89a24bbf282954a3b65ce6d200 - name: deploy to cloud run - uses: google-github-actions/deploy-cloudrun@01165691411082692bd7be1d46205239385177d4 + uses: google-github-actions/deploy-cloudrun@733e7b3262836985cf714bf611234120a6cf2e8c if: ${{ github.event_name != 'pull_request' }} with: image: ${{ fromJSON(needs.publish.outputs.meta_json).tags[0] }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6764f85..3c6311c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,16 +11,16 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 with: fetch-depth: 0 - - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 + - uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 with: go-version: 1.21.x cache: false - - uses: golangci/golangci-lint-action@9d1e0624a798bb64f6c3cea93db47765312263dc + - uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 with: version: v1.55 args: --timeout=10m diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b3f2e8e..9771767 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -11,9 +11,9 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 + - uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 with: go-version: 1.21.x