Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

chore(deps): bump sea-orm-migration in /migration (#298) #250

chore(deps): bump sea-orm-migration in /migration (#298)

chore(deps): bump sea-orm-migration in /migration (#298) #250

Workflow file for this run

name: Main
on:
push:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
main:
runs-on: ubuntu-latest
permissions:
issues: write
contents: write
packages: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
name: Installing Rust Toolchain
with:
profile: default
toolchain: stable
override: true
components: rustfmt, clippy
- name: Rust Cache
uses: Swatinem/rust-cache@v2.7.3
- uses: actions-rs/cargo@v1
name: Cargo Fmt
with:
command: fmt
args: --all -- --check
- uses: actions-rs/cargo@v1
name: Cargo Clippy
with:
command: clippy
args: --release -- -D warnings
- uses: actions-rs/cargo@v1
name: Cargo Build
with:
command: build
args: --release
- uses: google-github-actions/release-please-action@v4
name: Release
id: release
with:
release-type: rust
package-name: fikabot
- name: Install Task
uses: arduino/setup-task@v1
if: steps.release.outputs.release_created
- name: Log in to GitHub Container registry
uses: docker/login-action@v3.0.0
if: steps.release.outputs.release_created
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Package
if: steps.release.outputs.release_created
run: task release TAG=${{ steps.release.outputs.tag_name }}