diff --git a/.github/actions/apply/terraform/action.yml b/.github/actions/apply/terraform/action.yml index 13309248..a0263296 100644 --- a/.github/actions/apply/terraform/action.yml +++ b/.github/actions/apply/terraform/action.yml @@ -1,4 +1,5 @@ name: Apply Terraform +description: Apply Terraform configuration inputs: aws_access_key_id: diff --git a/.github/actions/deploy/backend/action.yml b/.github/actions/deploy/backend/action.yml index 0b8d1a7b..05d8a6ce 100644 --- a/.github/actions/deploy/backend/action.yml +++ b/.github/actions/deploy/backend/action.yml @@ -1,4 +1,5 @@ name: Deploy backend +description: Deploy backend to EC2 inputs: aws_access_key_id: diff --git a/.github/actions/deploy/web/action.yml b/.github/actions/deploy/web/action.yml index a1fdbfcc..d3a7a3a1 100644 --- a/.github/actions/deploy/web/action.yml +++ b/.github/actions/deploy/web/action.yml @@ -1,4 +1,5 @@ name: Deploy web app to S3 +description: Deploy web app to S3 inputs: aws_access_key_id: diff --git a/.github/actions/migrate/database/action.yml b/.github/actions/migrate/database/action.yml index 8a7adc07..f78d82d8 100644 --- a/.github/actions/migrate/database/action.yml +++ b/.github/actions/migrate/database/action.yml @@ -1,4 +1,5 @@ name: Migrate database +description: Run database migration inputs: db_host: diff --git a/.github/actions/validate/terraform/action.yml b/.github/actions/validate/terraform/action.yml index 34cdbf4c..ca824902 100644 --- a/.github/actions/validate/terraform/action.yml +++ b/.github/actions/validate/terraform/action.yml @@ -1,4 +1,5 @@ name: Validate Terraform +description: Validate Terraform configuration inputs: aws_access_key_id: diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 26f999e8..ea26d619 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,7 +8,7 @@ updates: - package-ecosystem: "npm" directory: "web" schedule: - interval: "weekly" + interval: "daily" open-pull-requests-limit: 20 - package-ecosystem: "gomod" directory: "/" diff --git a/.github/workflows/test.server.yml b/.github/workflows/test.server.yml index c3664d61..447f2bbe 100644 --- a/.github/workflows/test.server.yml +++ b/.github/workflows/test.server.yml @@ -29,7 +29,7 @@ jobs: run: go vet ./... - name: Install golangci-lint - run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.62.0 + run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "$(go env GOPATH)/bin" v1.62.0 - name: Run golangci-lint run: golangci-lint run ./... diff --git a/.github/workflows/test.workflows.yml b/.github/workflows/test.workflows.yml new file mode 100644 index 00000000..1f947113 --- /dev/null +++ b/.github/workflows/test.workflows.yml @@ -0,0 +1,29 @@ +name: test + +on: + push: + branches: + - main + pull_request: + paths: + - .github/workflows/*.yml + +jobs: + lint: + name: workflows + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.23' + + - name: Install actionlint + run: go install github.com/rhysd/actionlint/cmd/actionlint@latest + + - name: Run actionlint + run: actionlint