diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fef5386..0665d60 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,9 +22,9 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Go from go.mod - uses: actions/setup-go@v5 + uses: actions/setup-go@v7 with: go-version-file: go.mod - name: Install golangci-lint @@ -39,9 +39,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Set up Go from go.mod - uses: actions/setup-go@v5 + uses: actions/setup-go@v7 with: go-version-file: go.mod - name: Download dependencies @@ -60,9 +60,9 @@ jobs: (github.event_name == 'workflow_dispatch' && github.event.inputs.run_integration == 'true') steps: - name: Check out code into the Go module directory - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Set up Go from go.mod - uses: actions/setup-go@v5 + uses: actions/setup-go@v7 with: go-version-file: go.mod - name: Download dependencies @@ -103,7 +103,7 @@ jobs: # actions: write lets the trigger step below dispatch docker.yml. actions: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: fetch-depth: 0 persist-credentials: true diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c3151c8..7fcb685 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -30,13 +30,13 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: # Build the released code, not whatever is on main now. ref: ${{ github.event.release.tag_name || inputs.tag }} - name: Log in to the Container registry - uses: docker/login-action@v3 + uses: docker/login-action@v4.5.0 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -44,7 +44,7 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} # Tag the image with the release tag and latest (works for both triggers). @@ -62,7 +62,7 @@ jobs: echo "date=$(date -u +%Y-%m-%dT%H:%M:%SZ)" >> "$GITHUB_OUTPUT" - name: Build and push Docker image - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: context: . push: true @@ -94,7 +94,7 @@ jobs: DEPLOY_DIR: ${{ vars.DEPLOY_DIR || '/home/obraun/glabs/deploy' }} steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: # Sync the deploy/ files as they were at the released tag. ref: ${{ github.event.release.tag_name || inputs.tag }}