Skip to content

Bump docker/setup-buildx-action from 3.6.1 to 3.7.1 (#60) #126

Bump docker/setup-buildx-action from 3.6.1 to 3.7.1 (#60)

Bump docker/setup-buildx-action from 3.6.1 to 3.7.1 (#60) #126

Workflow file for this run

name: Test and Build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Run Go Tests
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v3
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v3
with:
go-version: '1.22.1'
- name: Get dependencies
run: go mod tidy
- name: Run tests
run: go test ./... -v
lint:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v3
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v3
with:
go-version: '1.22.1'
- name: golangci-lint
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v3
docker_build:
name: Build Docker Image
runs-on: ubuntu-latest
needs: test # No point building images if tests don't pass
steps:
- name: Check out code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3
- name: Build Docker image
uses: docker/build-push-action@32945a339266b759abcbdc89316275140b0fc960 # v6
with:
context: .
push: false
tags: frizbee-action:latest