diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index dc172e0..6959259 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -21,7 +21,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 10e636f..ca645aa 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -18,7 +18,7 @@ jobs: pull-requests: write steps: - - uses: actions/stale@v5 + - uses: actions/stale@v9 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'Stale issue message' diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 540e804..f845bcc 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -70,7 +70,7 @@ jobs: # Install the latest version of Terraform CLI and configure the Terraform CLI configuration file with a Terraform Cloud user API token - name: Setup Terraform - uses: hashicorp/setup-terraform@v1 + uses: hashicorp/setup-terraform@v3 with: cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }} @@ -89,5 +89,5 @@ jobs: # On push to "main", build or change infrastructure according to Terraform configuration files # Note: It is recommended to set up a required "strict" status check in your repository for "Terraform Cloud". See the documentation on "strict" required status checks for more information: https://help.github.com/en/github/administering-a-repository/types-of-required-status-checks - name: Terraform Apply - if: github.ref == 'refs/heads/"main"' && github.event_name == 'push' + if: github.ref == 'refs/heads/main' && github.event_name == 'push' run: terraform apply -auto-approve -input=false diff --git a/main.tf b/main.tf new file mode 100644 index 0000000..f5bbb79 --- /dev/null +++ b/main.tf @@ -0,0 +1,6 @@ +# Example main.tf to satisfy Terraform CLI requirements in CI +resource "null_resource" "example" { + triggers = { + value = "A example resource that does nothing!" + } +} diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..485e586 --- /dev/null +++ b/src/main.rs @@ -0,0 +1 @@ +fn main() { println!("Hello, Rust!"); }